source code appears as text listing in browser

2003-02-12 Thread Alois Treindl
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

Re: source code appears as text listing in browser

2003-02-12 Thread Bernhard van Staveren
[snip] 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? I've never used Apache::PerlRun to run old CGI scripts, always used Apache::Registry so

Re: source code appears as text listing in browser

2003-02-12 Thread Geoffrey Young
Alois Treindl wrote: 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, what this means is that the normal Apache handler that sends