run perl scrip with post form from apache

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 28 06:49:23 PST 2004


On Sat, Feb 28, 2004 at 09:29:56AM -0500, fbsd_user wrote:
> I keep getting this error message when I try to run an perl script 
> from an apache web page that is trying to post an form.
>  
> I have mod_perl-1.28 and p5-WWW-Mechanize
>  
> Method Not Allowed,
> The requested method POST is not allowed for the URL /sim.pl.
>  
> Any ideas on how to get this to work?

Check your apache configuration -- perhaps you have a <Limit></Limit>
block that forbids POST to that URL.  You should see a bit more detail
in the httpd-error.log

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040228/848a9ac5/attachment.bin


More information about the freebsd-questions mailing list