You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by st...@apache.org on 2003/08/06 21:17:10 UTC

cvs commit: httpd-test/perl-framework/Apache-Test Changes

stas        2003/08/06 12:17:10

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
               perl-framework/Apache-Test Changes
  Log:
  in the autogenerated t/conf/httpd.conf include mod_alias loading, in
  case it was built as a shared object and wasn't loaded from the
  system-wide httpd.conf from which Apache::Test inherits the
  config.
  
  Revision  Changes    Path
  1.168     +11 -0     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.167
  retrieving revision 1.168
  diff -u -r1.167 -r1.168
  --- TestConfig.pm	31 Jul 2003 05:35:39 -0000	1.167
  +++ TestConfig.pm	6 Aug 2003 19:17:10 -0000	1.168
  @@ -1280,6 +1280,17 @@
   
       $self->replace_vars($in, $out);
   
  +    # handle the case when mod_alias is built as a shared object
  +    # but wasn't included in the system-wide httpd.conf
  +    my $mod_alias = $self->find_apache_module('mod_alias.so');
  +    if ($mod_alias && -e $mod_alias) {
  +        print $out <<EOF;
  +<IfModule !mod_alias.c>
  +    LoadModule alias_module $mod_alias
  +</IfModule>
  +EOF
  +    }
  +
       for (keys %aliases) {
           next unless $vars->{$aliases{$_}};
           print $out "Alias /getfiles-$_ $vars->{$aliases{$_}}\n";
  
  
  
  1.36      +5 -0      httpd-test/perl-framework/Apache-Test/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- Changes	31 Jul 2003 13:23:30 -0000	1.35
  +++ Changes	6 Aug 2003 19:17:10 -0000	1.36
  @@ -8,6 +8,11 @@
   
   =item 1.04-dev - 
   
  +in the autogenerated t/conf/httpd.conf include mod_alias loading, in
  +case it was built as a shared object and wasn't loaded from the
  +system-wide httpd.conf from which Apache::Test inherits the
  +config. [Stas]
  +
   added have_apache_mpm() function [Geoffrey Young]
   
   when moving test-specific config directives from __DATA__ to