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?
- Re: source code appears as text listing in browser Alois Treindl
- Re: source code appears as text listing in brow... Bernhard van Staveren
- Re: source code appears as text listing in brow... Geoffrey Young