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

Hi all monks, I recently finished my cgi script to interact with my oracle server. Now I have ported it to a cgi script and everything works fine in my internal webserver, but as soon as I put in onto the apache(linux) server and execute the script I get the following error:
Method Not Allowed The requested method POST is not allowed for the URL /clearcase/rune/s +ql_executer.htm.
I'm not sure if this is a perl problem, but I thought I might ask the gurus. Thanks, RuneK

Replies are listed 'Best First'.
Re: CGI problem: Method Not Allowed
by hossman (Prior) on Feb 13, 2002 at 08:36 UTC
    not a perl problem.

    Your live apache/linux server isn't configured the same as your internal server.
    They don't agree on how to handle your URLs -- your internal server is configured to (somehow) recognize that URL as a CGI and execute perl, you need to do the same for your live server

Re: CGI problem: Method Not Allowed
by rjray (Chaplain) on Feb 13, 2002 at 23:14 UTC

    The administrator of the production machine you are trying to deploy to has disallowed the POST method for that URI. This is not a Perl problem, it's an Apache configuration issue. You need to take this up with the administrator of the Apache server.

    --rjray