Re: Is it possible to have a "default virtual" host?
[ nobody ]
> listr...@gmail.com wrote:
>> I'd like to set up a "Default Virtual Host" that will apply to all IP's
>> on a certain port, *except* for IP's with explicit virtual hosts.
[ listr...@gmail.com wrote ]
> Anyone? Any ideas?
If you define put your "default virtualhost" outside a VirtualHost
directive, then those settings should be defaulted to whenever a
request is not handled by one of the virtualhosts, i.e.:
#--- Default settings:
ServerName xyz.domain.com
ServerAlias xyz
ServerAdmin ...
<Directory "/path/to/default/htdocs">
...Options, Order, Allow...
</Directory>
#--- Virtualhosts:
<VirtualHost 10.1.1.1:8080>
...
</VirtualHost>
....
--
~ksvee
|