in reply to Perl CGI

It isn't a perl problem, Apache is configured not to allow post to that url. Off the top of my head I'm going to guess you have a .htaccess file protecting your website so nobody can see it while you are developing it. And in that .htaccess file you probably have a <Limit GET> directive, which restricts who can GET urls, and since you don't have POST listed in there, nobody is allowed to post.


We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re: Re: Perl CGI
by bart (Canon) on Mar 24, 2003 at 20:36 UTC
    From what I gathered, "LIMIT GET" only reduces your options for "GET"... it does not forbid you to use any other method. For example:
    <Limit GET> deny from all </Limit>
    will forbid anybody GET access to that directory; however, it says nothing about HEAD, POST, or whatever...
Re: Re: Perl CGI
by cfreak (Chaplain) on Mar 24, 2003 at 17:04 UTC