You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2006/02/02 22:04:55 UTC

svn commit: r374499 - /httpd/apreq/trunk/glue/perl/t/conf/extra.conf.in

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 <to...@gmx.net>
Message-ID: <20...@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>