
arif at mail
Jun 25, 2009, 2:51 PM
Views: 641
Permalink
|
|
Running CGI scripts after mod_perl.
|
|
I have a mod_perl 2 module, running in Apache 2.2, ------------------------------------------------- package Apache2::NNNN; use 5; use strict; use Apache2::Const -compile => qw(DECLINED); sub handler { return Apache2::Const::DECLINED; } 1; ------------------------------------------------- and this is enabled in a .htaccess file via SetHandler modperl PerlResponseHandler Apache2::NNNN Without the .htaccess config above CGI scripts run fine. With the above the actual script is returned. How do I get Apache to process the .cgi scripts as CGI scripts and not as just text files? Anthony.
|