httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Fri, 16 Nov 2001 19:43:27 GMT
dougm       01/11/16 11:43:27

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  add support for modules who want their own vhost with ssl enabled
  
  Revision  Changes    Path
  1.83      +7 -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.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- TestConfig.pm	2001/11/13 18:16:24	1.82
  +++ TestConfig.pm	2001/11/16 19:43:27	1.83
  @@ -730,8 +730,14 @@
   sub configure_vhost {
       my($self, $pre, $module, $post) = @_;
   
  +    #if module ends with _ssl it is either the ssl module itself
  +    #or another module that has a port for itself and another
  +    #for itself with SSLEngine On, see mod_echo in extra.conf.in for example
  +    my $have_module = $module =~ /_ssl$/ ?
  +      $self->{vars}->{ssl_module} : "$module.c";
  +
       #don't allocate a port if this module is not configured
  -    if ($module =~ /^mod_/ and not $self->{modules}->{"$module.c"}) {
  +    if ($module =~ /^mod_/ and not $self->{modules}->{$have_module}) {
           return join '', $pre, $module, $post;
       }
   
  
  
  

Mime
View raw message