HTTP status 405 is "Method not allowed", so the web server doesn't think you should be able to send a POST request to that URI. I usually find that that is a permissions problem or the web server does not allow executables for that URI (e.g. it needs to be in a cgi-bin directory).
Maybe you want to start with my Perl CGI Troubleshooting Guide.
--
brian d foy <bdfoy@cpan.org>
| [reply] |
ok will take a look thanks, permissions are set to 755 and sever does allow post requests
| [reply] |
No, the server obviously doesn't allow requests with a method of POST for either the location you have the program in or for the extension that you have on the program file. You need to check with your hosting provider what the requirement is, for example it might be necessary for the program to be named with a .cgi extension but it can be placed anywhere in your wseb space or that it must be placed in a particular location but can have any suffix.
/J\
| [reply] |
| [reply] |