diff options
author | Chuck Short <zul@gentoo.org> | 2004-04-15 22:46:07 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-04-15 22:46:07 +0000 |
commit | 1137cfcd39c0fd61e4cd3ad80d9c722e64399f57 (patch) | |
tree | b81cbe430768688d3cf1883c9ed9001c047225e8 /net-www/apache/files/2.0.49 | |
parent | added s390 keywords (Manifest recommit) (diff) | |
download | gentoo-2-1137cfcd39c0fd61e4cd3ad80d9c722e64399f57.tar.gz gentoo-2-1137cfcd39c0fd61e4cd3ad80d9c722e64399f57.tar.bz2 gentoo-2-1137cfcd39c0fd61e4cd3ad80d9c722e64399f57.zip |
Added mod_perl support to commonapache2.conf
Diffstat (limited to 'net-www/apache/files/2.0.49')
-rw-r--r-- | net-www/apache/files/2.0.49/commonapache2.conf | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/net-www/apache/files/2.0.49/commonapache2.conf b/net-www/apache/files/2.0.49/commonapache2.conf index 24364a1e6a95..35a410422373 100644 --- a/net-www/apache/files/2.0.49/commonapache2.conf +++ b/net-www/apache/files/2.0.49/commonapache2.conf @@ -1,5 +1,5 @@ ### /etc/apache2/conf/commonapache2.conf -### $Id: commonapache2.conf,v 1.1 2004/03/22 21:17:57 stuart Exp $ +### $Id: commonapache2.conf,v 1.2 2004/04/15 22:46:07 zul Exp $ ### ### Common server configuration. ### @@ -691,7 +691,12 @@ ServerSignature On <IfModule mod_perl.c> <Location /perl-status> SetHandler perl-script + <IfDefine MODPERL2> + PerlResponseHandler Apache::Status + </IfDefine> + <IfDefine !MODPERL2> PerlResponseHandler ModPerl::Status + </IfDefine> <IfModule mod_access.c> Order deny,allow Deny from all @@ -872,7 +877,12 @@ ServerSignature On SetHandler perl-script PerlResponseHandler ModPerl::PerlRun Options -Indexes ExecCGI - PerlSendHeader On + <IfDefine MODPERL2> + PerlOptions +ParseHeaders + </IfDefine> + <IfDefine !MODPERL2> + PerlSendHeader On + </IfDefine> </Directory> </IfModule> @@ -907,7 +917,12 @@ ServerSignature On #set Apache::Registry Mode for /perl Alias <Location /perl/*.pl> SetHandler perl-script + <IfDefine MODPERL2> + PerlResponseHandler Apache2::ModPerl::Registry + </IfDeinfe> + <IfDefine !MODPERL2> PerlResponseHandler ModPerl::Registry + </IfDefine> Options -Indexes ExecCGI PerlSendHeader On </Location> |