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>

Reply via email to