Hopely someone can help me:
Which setting in Apache is wrong if i get this error msg? Method Not Allowed
The requested method POST is not allowed for the URL.
Apache/1.3.20 Server at subdomaine.maindomaine.de Port 80
If its in your /cgi-bin/ directory (as pointed to by your ScriptAlias in httpd.conf) then its possible you forgot to 'chmod o+x scriptname' .
If its outside that directory, you need to have the 'ExecCGI' option turned on in a <Directory> container, or in a .htaccess file if you have set 'AllowOverride All' to permit overrides of the defaults in parent directories. For example using a <Directory> container :
You also need the following in httpd.conf, but from that error code you probably have this one :
AddHandler cgi-script .cgi .pl
If its still a problem, post a bit more info on the server (linux/win ?) and directories involved, etc. Also, advise whether have you successfully run any other cgi scripts.
Thanks in advance
I use Linux RedHat 7.2 Server with Apache 3.3.
The mirical is that some cgi-scripts are runing without an error and some have error`s. The setting in httpd.conf is correct and the scripts are in the same dir. I know that this doesn´t give so much infos sorry but i do not know more infos by now.
Althouw i have set the chmod.
Henning
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.