perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Feraru <altb...@deathsdoor.com>
Subject Re: Vhosts + mod_perl
Date Sun, 02 Dec 2001 12:51:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Dec 1 at 01:59, 'James' wrote:
|J|But, with that e.g. that uses an IP address, from day to day I don't 
|J|know what my IP address will be, can't I use:
|J|NameVirtualHost fred.trains.ath.cx
|J|<VirtualHost fred>
|J|... foo
|J|</VirtualHost>

NameVirtualHost *
<VirtualHost *>
    ServerName  www.foo.com
    ...
</VirtualHost>

specifying '*' as the argument of NameVirtualHost it's a new feature as of 
Apache version 1.3.13. It's quite tricky to use it in complex configuration 
(multiple listening ports/ip addresses) but it is really very powerful :)

cheers.
- -- 
Marius Feraru                                 http://altblue.n0i.net/
"it's easy to stop using Perl: I do it after every project."
-----BEGIN PGP SIGNATURE-----

iD8DBQE8CiPBn0ZKufYp8iURAjw9AJ9MtY3gOtwELcnidr83aQ942a9iDACaA8l9
nwmEW30EE5NMHOfJhvPbe9A=
=7rPg
-----END PGP SIGNATURE-----


Mime
View raw message