> -----Original Message----- > From: Patricia Gillard [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 10:37 PM > To: [EMAIL PROTECTED] > Subject: Probably a simple problem > > ... > What I have learned about Perl at the new server is that it > is Perl version > 5.005_03, mod_perl1.25 module on a Sun Colbat server with > Apache 1.3.2. [I > hope that means something to someone.]
Just because the server is built with mod_perl, that does not mean your scripts are being handled by mod_perl. If they are being handled by mod_cgi, then mod_perl is not an issue here. The easiest way to tell is to communicate with the sysadmin of the server. But you can also write a small script that displays the value of $ENV{GATEWAY_INTERFACE}. If it says "CGI/1.1", then you are running under mod_cgi. If it says "CGI-Perl/1.1", you are running under some kind of mod_perl handler (probably Apache::Registry). This test may not be fool-proof, so looking at the server configuration is still the best way. If your scripts are running under Apache::Registry, there are various things that could cause problems, the most notable being the fact that global variables are not reinitialized at the start of each request. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]