In the 1.0 documentation there is a section on ways to confirm
the version of mod_perl being run: checking the error_log,
viewing /perl-status, telnetting in and getting the environmental
variables with a script.

However, I can't find any corresponding section in the 2.0 documentation.

So, the fact I'm running mod_perl-1.99_16 with httpd-2.0.50, and I don't see
that information when I do the above, just the httpd version,
didn't worry me enough to force me to ask.

Here are some of the environmental variables retrieved
by a perl-script handler:

SERVER_SIGNATURE = <address>Apache/2.0.50 (Unix) Server at momotaro.chinmin.edu
MOD_PERL = mod_perl/1.99_16
GATEWAY_INTERFACE = CGI/1.1

The 1.0 documentation suggests that should be perl
    GATEWAY_INTERFACE       CGI-Perl/1.1

but I ignored that because I have got basic handlers working and
CGI-Kwiki under mod_perl works fine. (The later Kwiki-0.33 does not).


Anyway, I am now being forced to wonder again if my httpd configuration is
not good after trying out Test-Apache in my build
directory. The signature there is:

[Sun Oct 03 08:25:54 2004] [notice] Apache/2.0.50 (Unix)
mod_perl/1.99_16 Perl/v5.8.3 world domination series/2.0
configured -- resuming normal operations

This is different than the public signature of httpd installed
in /usr/local/httpd. Is this signature with the mod_perl
information only for private testing?

Or did I get the perl.conf and httpd.conf wrong, or something
else?

-- 
Greg Matheson, Taiwan

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to