You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Fred Moyer <fr...@taperfriendlymusic.org> on 2006/01/19 02:08:19 UTC
[patch] test fails when mod_alias not built
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>
Re: [patch] test fails when mod_alias not built
Posted by Joe Schaefer <jo...@sunstarsys.com>.
Fred Moyer <fr...@taperfriendlymusic.org> writes:
> 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.
>
[...patch...]
Thanks, applied as revision 371540.
--
Joe Schaefer