httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@taperfriendlymusic.org>
Subject [patch] test fails when mod_alias not built
Date Thu, 19 Jan 2006 01:08:19 GMT
Hello,

After reading mod_perl for speed freaks I trimmed down my httpd and had 
test failures building apreq trunk against Perl 5.8.6, mod_perl 2.0.2 
and Apache 2.2.0.  The following small changes resulting in make test 
completing when httpd was not built with mod_alias.

- Fred

Index: module/t/conf/extra.conf.in
===================================================================
--- module/t/conf/extra.conf.in (revision 370406)
+++ module/t/conf/extra.conf.in (working copy)
@@ -1,4 +1,7 @@
-ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
+<IfModule mod_alias.c>
+    ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
+</IfModule>
+
  <IfModule !mpm_winnt.c>
     LockFile @ServerRoot@/logs/accept.lock
  </IfModule>
Index: glue/perl/t/conf/extra.conf.in
===================================================================
--- glue/perl/t/conf/extra.conf.in      (revision 370406)
+++ glue/perl/t/conf/extra.conf.in      (working copy)
@@ -1,4 +1,7 @@
-ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
+<IfModule mod_alias.c>
+    ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
+</IfModule>
+
  <IfModule !mpm_winnt.c>
     LockFile @ServerRoot@/logs/accept.lock
  </IfModule>

Mime
View raw message