Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-27 Thread Mark Thomas
Lessie Z. Mitch wrote: /tomcat_home/conf/server.xml !-- ip 123.234.345.1 -- Host name=domain1.com appBase=/home/web/domain1.com/webapps ~~~ no directory after webapps unpackWARs=true autoDeploy=true /Host This now looks good. Note that *any* directory or war under

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-27 Thread Lessie Z. Mitch
] Sent: Tuesday, February 26, 2008 10:06 PM To: Tomcat Users List Subject: Re: Virtual Hosts: path=/ without using ROOT folder? Lessie Z. Mitch wrote: Why does my original configuration not work anymore? I will keep Mark's recommended configuration but would like to know they why behind the how

Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread ahnf
Hi, We would like to have 2-4 virtual hosts setup on a Tomcat 5.5.x server. I want all of these applications to respond under / I have read all the documentation on how to setup a new host in server.xml with a custom appBase and then specify your context file in META-INF. My question is, is

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Mark Thomas
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

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Jeff Hoffmann
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

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Lessie Z. Mitch
- 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

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Mark Thomas
Lessie Z. Mitch wrote: 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

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Lessie Z. Mitch
:51 AM To: Tomcat Users List Subject: Re: Virtual Hosts: path=/ without using ROOT folder? 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

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Lessie Z. Mitch
and destroy all copies of the original message. -Original Message- From: Lessie Z. Mitch [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 10:19 AM To: 'Tomcat Users List' Subject: RE: Virtual Hosts: path=/ without using ROOT folder? Use context.xml - approach #2 and configure

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Mark Thomas
Lessie Z. Mitch wrote: Sorry.. didn't finish... (hit the damned button) And my application context.xml files would read something like... No - completely wrong. In short (just doing one host) you want something like: /tomcat_home/conf/server.xml !-- virtual host mywebapp1 -- Host

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Lessie Z. Mitch
ahnf (op) and Jeff... I know this thread helped me. Now, I go fight with the mod_jk ~LZM~ -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 10:41 AM To: Tomcat Users List Subject: Re: Virtual Hosts: path=/ without using ROOT

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread AH NF
Here is what I have setup going off the examples, but it is not working like a I would like a) a Host definition in my server.xml which has appBase=tomcatHome/ myAppBase b) a WAR file named ROOT.war. Inside there is a context.xml located in META-INF I am not sure what to put in for

Re: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread AH NF
Thanks Mark, could my context.xml also just live in my WAR/META-INF file? So let me get this right, the location of appBase is purely for where WARs are uploaded. Never should document roots live under it? So if I upload a war to appBase Tomcat then unpacks it to the context docbase?

RE: Virtual Hosts: path=/ without using ROOT folder?

2008-02-26 Thread Lessie Z. Mitch
/Host Webapp starts fine, serves fine... rest of previous is okay - just the server.xml section ~LZM~ -Original Message- From: Lessie Z. Mitch [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 1:33 PM To: 'Tomcat Users List' Subject: RE: Virtual Hosts: path=/ without using ROOT