If you are using apache, you still need to name your Virtual hosts in the
httpd.conf.

I am myself having mod_jk issues and awaiting response.


> ahnf wrote:
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Does this work for TC5.5.x??? that is for TC6



-----Original Message-----
From: Jeff Hoffmann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 26, 2008 9:16 AM
To: Tomcat Users List
Subject: Re: Virtual Hosts: path="/" without using ROOT folder?

Mark Thomas wrote:
> ahnf wrote:
>> My question is, is there any way other than making the application's 
>> root directory be "ROOT" or deployed under ROOT/ in order to get it to 
>> respond to "/"? I tried the "path" attribute but it says that it is 
>> only valid when the <Context> is defined in server.xml and not in 
>> META-INFO/context.xml. 
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
> 
> Use context.xml - approach #2 and configure both a docBase and a path. 
> Note the docBase *must* be outside of any host's appBase.

On a related note, is it possible to access these virtual hosts through 
connecters (mod_jk/Apache)?  I don't really know anything about the 
content of AJP connections -- do they pass the virtual host name to 
allow Tomcat to direct the requests to the right host or do all the 
requests go to the defaultHost?

-- 
Jeff Hoffmann
PropertyKey.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008
9:08 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008
9:08 AM
 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to