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 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 > [cl

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

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 th

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: Scri

RE: run perl scrip with post form from apache

2004-02-28 Thread fbsd_user
All ready had sim.pl set as 770 and owner as www and group as wheel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Seaman Sent: Saturday, February 28, 2004 11:36 AM To: JJB Cc: Marty Landman; [EMAIL PROTECTED] ORG Subject: Re: run perl scrip with

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 i

RE: run perl scrip with post form from apache

2004-02-28 Thread JJB
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 htt

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 all

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: http://f