Re: run perl scrip with post form from apache

2004-02-29 Thread Jerry McAllister
Thanks for you pointers, they helped me to move further on into different problem. I added the addhandler statement and ExecCGI There are no Limit/Limit at all The httpd-error.log has these messages now (2)No such file or directory: exec of /usr/local/www/data/sim.pl failed

run perl scrip with post form from apache

2004-02-28 Thread fbsd_user
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?

Re: run perl scrip with post form from apache

2004-02-28 Thread Marty Landman
At 09:29 AM 2/28/2004, fbsd_user wrote: The requested method POST is not allowed for the URL /sim.pl. Any ideas on how to get this to work? Do you have AddHandler cgi-script .cgi .pl specified in your httpd.conf file? Marty Landman Face 2 Interface Inc. 845-679-9387 FormATable DB:

Re: run perl scrip with post form from apache

2004-02-28 Thread Matthew Seaman
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

RE: run perl scrip with post form from apache

2004-02-28 Thread JJB
PROTECTED]; [EMAIL PROTECTED] ORG Subject: Re: run perl scrip with post form from apache At 09:29 AM 2/28/2004, fbsd_user wrote: The requested method POST is not allowed for the URL /sim.pl. Any ideas on how to get this to work? Do you have AddHandler cgi-script .cgi .pl specified in your httpd.conf

Re: run perl scrip with post form from apache

2004-02-28 Thread Matthew Seaman
On Sat, Feb 28, 2004 at 11:11:19AM -0500, JJB wrote: The httpd-error.log has these messages now (2)No such file or directory: exec of /usr/local/www/data/sim.pl failed [client ] Premature end of script headers: /usr/local/www/data/sim.pl The sim.pl file is in that directory and it was

RE: run perl scrip with post form from apache

2004-02-28 Thread fbsd_user
with post form from apache On Sat, Feb 28, 2004 at 11:11:19AM -0500, JJB wrote: The httpd-error.log has these messages now (2)No such file or directory: exec of /usr/local/www/data/sim.pl failed [client ] Premature end of script headers: /usr/local/www/data/sim.pl The sim.pl file

Re: run perl scrip with post form from apache

2004-02-28 Thread Peter Risdon
fbsd_user wrote: All ready had sim.pl set as 770 and owner as www and group as wheel The httpd-error.log has these messages now (2)No such file or directory: exec of /usr/local/www/data/sim.pl Just a thought - where does your ScriptAlias line in httpd.conf point? The default is:

Re: run perl scrip with post form from apache

2004-02-28 Thread Matthew Seaman
On Sat, Feb 28, 2004 at 12:17:34PM -0500, fbsd_user wrote: All ready had sim.pl set as 770 and owner as www and group as wheel Ah. Then check the #! line at the top of the script -- it should read: #!/usr/bin/perl (possibly with a few flags appended). Make sure you can run sim.pl from

Re: run perl scrip with post form from apache

2004-02-28 Thread Marty Landman
At 12:43 PM 2/28/2004, Matthew Seaman wrote: Make sure you can run sim.pl from the command line [snip[ Running 'perl -cw' on the script might be a good idea as well. I'll second that and add that if you can run fine from the CLI then try running it as standalone from your browser. If that works