mod_perl

Wesley Darlington wesley at yelsew.com
Tue Sep 18 08:53:16 CDT 2001


On Tue, Sep 18, 2001 at 02:04:40PM +0100, barry wrote:
> how can I check that it's being run under that? when I remover the mod_perl
> configuration stuff, it works correctly :) the same thing happens on a simple
> test script, like this
<snnnnnip>
> print "Content-Type: text/plain\n\n";
> print "$< $>\n\n";
> foreach(sort keys %ENV) {
>     print "$_ = $ENV{$_}\n";
> }

Do you see an environment variable named MOD_PERL?
What do you get when you telnet to port 80 and request the file by hand?
Finally, what happens with PerlSendHeader On?

Wesley.



More information about the Belfast-pm mailing list