rbspro has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: error 405 (post)
by brian_d_foy (Abbot) on Mar 17, 2005 at 19:42 UTC

    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>
      ok will take a look thanks, permissions are set to 755 and sever does allow post requests

        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\

Re: error 405 (post)
by ikegami (Patriarch) on Mar 17, 2005 at 19:42 UTC