I tried to follow instruction in mod_perl developer's cookbook to move exitings CGI script to mod_perl.

What happens is that the browser lists the source code of my CGI scripts, instead of excuting them, when I create a special mod_perl directory with this configuration.

PerlModule Apache::PerlRun
Alias /perl/ /www/atl/cm/
PerlTaintCheck on
PerlSetVar Debug 1
<Location /perl>
SetHandler perl-script
PerlHandler Apache::PerlRun
Options +ExecCGI
PerlSendHeader On
Order deny,allow
Allow from all
</Location>

The same scripts in the cgi directory do fine, as they always have,
when I run them as regular cgi scripts.

I am using Apache 1.3.27 on HPUX, with mod_perl 1.27

What might I be doing wrong?


Reply via email to