[EMAIL PROTECTED],
I have been recently tring to get mod_perl installed with Apache 1.3.9. I
got everything configured and everything did compile, I copied the
httpd.conf file and httpd over to the /usr/local/apache/conf and
/usr/local/apache/bin directory. Apache 1.3.9 was already installed without
mod_perl compiled in, so all the rest of the bin/ conf/ htdocs/ don't need
to be updated.
I went though the entire httpd.conf by hand and find tuned everything in
there, I started apache. When I restart Apache I get this in the error_log
[Thu Dec 30 10:30:45 1999] [notice] SIGHUP received. Attempting to restart
[Thu Dec 30 10:30:45 1999] [notice] Apache/1.3.9 (Unix) mod_perl/1.21
configured -- resuming normal operations
Which is not an really an error, but anyways, it say "Apache/1.3.9 (Unix)
mod_perl/1.21" which is differant from a plain Apache 1.3.9 server starting.
I assumed mod_perl was working at this point. Just in case I wrote a small
shell script to "make sure" it was working correctly and that all scripts
where being run on the mod_perl, the script is as follows:
#!/usr/bin/perl
print ("Content-type: text/html\n\n");
if (exists $ENV{"MOD_PERL"} )
{ print ("MOD_PERL is INSTALLED<BR>"); }
else
{ print ("MOD_PERL is NOT installed<BR>"); }
while (($key, $val) = each %ENV) {
print "$key = $val<BR>";
When I run this script, is says that mod_perl is not installed, and the
gateway_interface is:
GATEWAY_INTERFACE = CGI/1.1
under the mod_perl FAQ it says that the it should be equal to
"CGI-Perl/1.1"
So I am looking for some help, any ideas?
Is there anything that I must modify in my scripts/httpd.conf to get them to
work under mod_perl? The scripts do run find, but don't looking like they
are using mod_perl to run.
Jack