This is a discussion on CGI Directory within the Linux Web Servers forums, part of the Web Server and Related Forums category; I'm having trouble getting my CGI directory to work. I have a form that when submitted is supposed to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm having trouble getting my CGI directory to work. I have a form
that when submitted is supposed to go to this particular cgi document. When the form is submitted Page Not Found is returned. I chmod the cgi directory to 777 as well as the cgi document and the form and I still get the same error. I was wondering if anyone has any insight as to what may be going on. I used http://httpd.apache.org/docs/howto/cgi.html as my guide to set up my directory. This is what the cgi part of my httpd.conf looks like # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ /usr/local/www/site.mysite/cgi-bin # # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/usr/local/www/site.mysite/cgi-bin/*.cgi"> Options +ExecCGI </Directory> I even uncommented the addhandler line # # To use CGI scripts: # AddHandler cgi-script .cgi .pl |