perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: PerlRun, nothing but page header
Date Mon, 05 Apr 2004 21:38:19 GMT
Bram Whillock wrote:
> Apache error log says:
> mod_perl/1.25

That means nothing, besides having mod_perl present. You need to configure the 
server to run your script under mod_perl.

Assuming that your script is under:/var/www/beta/modperl.cgi, your configuration:

PerlWarn On
PerlTaintCheck On
PerlModule Apache::PerlRun

<Directory "/var/www/beta">
         SetHandler perl-script
         PerlHandler Apache::PerlRun
         Options ExecCGI
         allow from all
         PerlSendHeader On

should work, as long as you don't reset it, somewhere later in httpd.conf. 
e.g. with ScriptAlias directive, which will use mod_cgi to run the script.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

Report problems:
Mail list info:
List etiquette:

View raw message