stas 2003/10/06 13:04:47
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm
Log:
enclose the Alias settings in the <IfModule mod_alias.c> container for
httpd's that don't have mod_alias.
Revision Changes Path
1.176 +3 -1
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -u -r1.175 -r1.176
--- TestConfig.pm 1 Oct 2003 13:45:23 -0000 1.175
+++ TestConfig.pm 6 Oct 2003 20:04:47 -0000 1.176
@@ -1315,10 +1315,12 @@
EOF
}
+ print $out "<IfModule mod_alias.c>\n";
for (keys %aliases) {
next unless $vars->{$aliases{$_}};
- print $out "Alias /getfiles-$_ $vars->{$aliases{$_}}\n";
+ print $out " Alias /getfiles-$_ $vars->{$aliases{$_}}\n";
}
+ print $out "</IfModule>\n";
print $out "\n";