Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
When I run the script in the command line on the new server (with hard coded values), it works fine. But if I call it as a form 'action' method from a website, the script returns an internal server error. It's the exact same script but it runs differently on two different servers. I checked the versions of all three of the libraries that it uses:
LWP::Simple
WWW::Mechanize
CGI
HTTP::Cookies
And have updated all of these libraries on the new server so that I now have the latest version of these libs.
Could it be a setting in Apache that is causing the problem? If so, what should I look for? I need to get this to work on my new server and am not sure how to go about solving this.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Script works differently on two different servers
by moritz (Cardinal) on Jul 23, 2009 at 11:56 UTC | |
Re: Script works differently on two different servers
by davorg (Chancellor) on Jul 23, 2009 at 12:36 UTC | |
by shawnhcorey (Friar) on Jul 23, 2009 at 14:35 UTC | |
Re: Script works differently on two different servers
by H4nch0 (Initiate) on Jul 23, 2009 at 18:56 UTC |