Forum Moderators: coopster & phranque

Message Too Old, No Replies

405 Error

405 Error after submitting

         

Acternaweb

3:57 pm on Jun 5, 2001 (gmt 0)

10+ Year Member



I am relatively new to building pages, and I have a form that is linking to a perl script, but when I submit the form, I get a 405 error. I tried changing the CHMOD to 755 or 700 for the file, but still no luck.

I created my own cgi-bin folder, does the web hosting firm have to create it? They have a bin folder on my site, but did not give me access to it.

Sorry for the novice questions, but your help would be much appreciated.

Paul

sugarkane

4:13 pm on Jun 5, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Paul,

For whatever reason, the server is denying access to your script via the POST or GET method. This could be as simple as having the wrong file extension (usually .cgi but occasionally .pl), but it's more likely that the directory is not set up for CGI.

You'll probably have to get your hosts to set it up for you, but it might be worth creating a .htaccess file with the line:

Options ExecCGI

in your script directory - this might work depending on the server's configuration.