For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > May 2004 > Script not behaving the same when run under perl and mod_perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Script not behaving the same when run under perl and mod_perl
Loren Erwin

2004-05-22, 11:31 am

I have written a report that takes one parameter from a form and then
creates a report from it. All this is done in one script and creates two web
pages (the form page and the report page). I run it from the cgi-bin
directory in apache 1.3 (Windows machine) and it passes the parameters
($cgi->param{'timeframe'}). I run it from perl directory (mod_perl) in
Apache 1.3 (Linux machine). It does not pass any parameters. I can run it
under mod_ssl or no mod_ssl and get the same issue.

This might be a question for apache configuration, but I figured I would
start here.

Windows machine
Win 2000 pro
Apache 1.3.14
Perl 5.6

Linux machine
Fedora Core rel 1
Apache 1.3.29
perl 5.8.1
mod_perl 1.29
mod_ssl 2.8.16-1.3.29
openssl 0.9.7d

Any assistance you be much appreciated.

Thanks,
Loren

Wc -Sx- Jones

2004-05-22, 11:31 am

Loren Erwin wrote:
> This might be a question for apache configuration, but I figured I would
> start here.


http://perl.apache.org/docs/1.0/gui...Report_Problems

If your script doesnt work under mod_perl try mod_cgi
(If mod_cgi was built into the httpd server.)

read:
http://perl.apache.org/docs/1.0/guide/config.html

And join:
http://perl.apache.org/maillist/index.html

-Sx-
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com