tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Isaac Martínez Hatch <imarti...@quaxar.com>
Subject Virtual Hosts + Tomcat 5 + Windows
Date Tue, 09 May 2006 19:37:06 GMT
Hi,

I found information of how to create a virtual host adding some code to the 
httpd.conf file, but I'm running Windows not Linux. I don't have a 
httpd.conf file.

Should I put this code somewhere else? maybe in the server.xml?

<VirtualHost 192.168.1.200>
    ServerName www.somedomain.com
    DocumentRoot [path]
    ServerAdmin support@somedomain.com
    ErrorLog [path]
    TransferLog [path]
</VirtualHost>

<VirtualHost 192.168.1.201>
    ServerName www.otherdomain.com
    DocumentRoot [path]
    ServerAdmin support@otherdomain.com
    ErrorLog [path]
    TransferLog [path]
</VirtualHost>

Thank you,
Isaac Martinez 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message