httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r374499 - /httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in
Date Thu, 02 Feb 2006 21:04:55 GMT
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 <torsten.foertsch@gmx.net>
Message-ID: <200601182136.13113.torsten.foertsch@gmx.net>

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>



Mime
View raw message