Author: joes
Date: Thu Feb 2 13:04:53 2006
New Revision: 374499
URL: http://svn.apache.org/viewcvs?rev=374499&view=rev
Log:
If mod_perl is installed at a non-standard location setting PERL5LIB
is sufficient to make "make test" work for modperl handlers but not
for CGI scripts called by apache.
Some tests in glue/perl write CGI scripts that require APR::Pool & co. Hence,
$ENV{PERL5LIB} must be passed through.
Submitted by: Torsten Foertsch <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
joes wrapped the patch in an <IfModule mod_env.c> block
Modified:
httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in
Modified: httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in?rev=374499&r1=374498&r2=374499&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in (original)
+++ httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in Thu Feb 2 13:04:53 2006
@@ -1,3 +1,7 @@
+<IfModule mod_env.c>
+ PassEnv PERL5LIB
+</IfModule>
+
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
</IfModule>