From: Toby Rodwell Date: 2007-05-14T03:13:28+09:00 Subject: Can't get basic CGI and Form submission working I'm not a programmer, but like to use Ruby for writing simple programs, mainly for helping with my day job (as a network engineer). My normal method of coding is to take an example out a book ("The Pragmatic Programmers Guide", what else? :)) and tailor/expand it to to my needs. I've just written a program which produces its results in HTML, for convenient viewing. I'm feeling a little more ambitious now and would like now to get a *small* amount of interaction using simple forms. However, I'm not really getting past the first hurdle. I *thought* that putting
"STUFF"
... would run the script indicated. Instead I get a '404' "The requested URL was not found on this server." I also tried
...
In fact, I tried this version first but it neither worked nor gave me any errors. I know the script in question itself works because I can run it from the command line (plus it is just creating a 'Hello World!' file) - which is to say I chmod 755 the file and started it with the path to the Ruby bin. I'm probably missing something really basic, and any advice would be gratefully received. thanks in advance -- Posted via http://www.ruby-forum.com/.