tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Farrow" <marc.far...@gmail.com>
Subject Re: Virtual Hosts + Tomcat 5 + Windows
Date Tue, 09 May 2006 19:41:35 GMT
The HTTPD.CONF file is an Apache file, not a Tomcat file.  You are mixing
two different products.

On 5/9/06, Jorge Isaac Martínez Hatch <imartinez@quaxar.com> wrote:
>
> 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
>
>


--
Marc Farrow
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message