perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r233509 - /perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
Date Fri, 19 Aug 2005 16:32:22 GMT
Author: jorton
Date: Fri Aug 19 09:32:18 2005
New Revision: 233509

URL: http://svn.apache.org/viewcvs?rev=233509&view=rev
Log:
Define a "MOD_FOO_PORT" variable from any <VirtualHost mod_foo> definition,
so the port can be referenced by other directives.

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestConfig.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfig.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestConfig.pm?rev=233509&r1=233508&r2=233509&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfig.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfig.pm Fri Aug 19 09:32:18 2005
@@ -1197,6 +1197,8 @@
         }
     }
 
+    $self->{vars}->{$module . '_port'} = $port;
+
     #there are two ways of building a vhost
     #first is when we parse test .pm and .c files
     #second is when we scan *.conf.in



Mime
View raw message