httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject [PATCH] let perl-framework create name based VirtualHosts
Date Tue, 12 Aug 2003 19:38:43 GMT
In order to switch between different server configurations by just supplying
another Host header, it'd be useful to have name based VHs in our testsuite.
The attached patch tries to solve this problem. The Syntax is like

<VirtualHost servername:module>

If servername is not _default_, the above will be transformed to:

Listen $port
NameVirtualHost *:$port
<VirtualHost *:$port>
    ServerName $servername:$port (or 1.3 like, however)

A sample input and transformation are also attached. Opinions?


View raw message