Entry
I get an error 'The requested method POST is not allowed for the URL ' I am lost...
I've been getting this weird error messege file:///C1 every time I save my Code to .html and test it
Jan 11th, 2002 14:29
George Herson, Narendra Jain, Rue C,
I can't answer the "file:///C1" error question, but I'd gotten the message 'The requested method POST is not allowed for the URL' (as a 405 Server error) until I added the single line:
ScriptAlias /mck-cgi/ /home/httpd/html/mck-cgi/
to my httpd.conf. This allows CGI scripts addressed as http://mydomain.com/mck-cgi/whatever to run out of the ....html/mck-cgi directory.
The below had already been added to the httpd.conf.
<Directory /home/httpd/html/mck-cgi>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
so it was insufficient.
(This is on RedHat Linux 6.2's Secure Web Server, a product based on Apache + mod_ssl. GH 12/19/00)