Thank you Marc,

Other question: Can I have IP-Based Virtual Hosting using just Tomcat, or I need Apache running and then Tomcat?

Any help is welcome...
Isaac Martinez


----- Original Message ----- From: "Marc Farrow" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, May 09, 2006 2:41 PM
Subject: Re: Virtual Hosts + Tomcat 5 + Windows


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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
   ErrorLog [path]
   TransferLog [path]
</VirtualHost>

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

Thank you,
Isaac Martinez


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Marc Farrow



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to