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
]
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
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
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
-
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
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
: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
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
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
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
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
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?
/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
13 matches
Mail list logo