Re: Mapping multiple hosts to single Host

2002-02-06 Thread August Detlefsen
In httpd.conf, inside each VirtualHost, you can set the ServerAlias directive - it will allow the same VirtualHost to recognize multiple domain names: NameVirtualHost 12.34.56.78 VirtualHost 12.34.56.78 ServerName myCompany.com ServerAlias myCompany.net myCompany.org myOtherCompany.com

Re: Mapping multiple hosts to single Host

2002-02-06 Thread tomcat
Correct. We're currently using the host settings in server.xml which match virtual hosts in Apache. I've done some testing with Apache aliases, but the host passed in is the alias which is not in server.xml - tested using RequestHeaderExample. What we need to do is to add additional domain

Mapping multiple hosts to single Host

2002-02-05 Thread tomcat
I've read many posts about virtual hosts and Tomcat with and without mod_jk/mod_webapp, but haven't found a real answer to my question. We want to map multiple hosts to a single Host config in server.xml. I thought the defaultHost setting would do this, but it doesn't work. If I have DNS