perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony R Fletcher <a...@mail.nih.gov>
Subject Running CGI scripts after mod_perl.
Date Thu, 25 Jun 2009 21:51:31 GMT
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.





Mime
View raw message