Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Method POST not allowed....

Status
Not open for further replies.

adamf

Technical User
Mar 7, 2002
51
GB
I am getting the following error message when trying to call a cgi script on an apache web-server...

The requested method POST is not allowed for the URL /path/to_script/example.cgi.

For various reasons, things are all over the place, and the cgi-bin directory I am calling the script from is a sym link. I have done this ok on other web servers, so I'm guessing that isn't the problem, and it actually lies in the httpd.conf file.

I've had a look but can't see anything obvious... Any help gratefully received!! Adam F
Solaris System Administrator
 
Hi,

Have you got both ExecCGI and FollowSymlinks active as options for that directory ? I.e. in a <Directory> container or (for FollowSymLinks) globally ?

<Directory /var/ Options ExecCGI FollowSymLinks
</Directory>

Hope this helps
 
I've tried that, and followed advice from similar problems posted on this forum, but still having no joy... Adam F
Solaris System Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top