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
</Directory>

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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to