Folks,
I found the solution and it was embarrassingly simple.. (an often
occurrence..)
All I had to do was set the DocumentRoot to where I wanted the
index.html to be run from.
(I found it when I was deleting all of the various test settings,
Directory tags, Aliaes, redirects and left the
only the Hosts
need to be configured in server.xml
-Rashmi
- Original Message
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, March 16, 2007 9:20:15 PM
Subject: Re: How does one configure Plain host domain url to run web app?
John Moore
Rashmi Rubdi wrote:
You are right, the set-up I've mentioned only works for one application.
Perhaps you want to configure multiple virtual hosts.
I already use virtual hosts..
There's an example on that here:
John Moore wrote:
Thanks for any ideas or suggestions..
A how to has been added to the documentation.
http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
Mark
-
To start a new topic, e-mail:
Subject: How does one configure Plain host domain url to run web app?
(Tomcat 4.x)
I have the following url that runs an application (pseudo url for
discussion only)
http://www.mydomain.com/mysite/thecontext
works fine..
I would like to configure it so that..
http://www.mydomain.com
gets
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: How does one configure Plain host domain url to
run web app?
Dont use a redirect... it goes back to the browser and its not cool.
Nothing wrong with redirects. They're quite appropriate to allow the
browser to properly
Rashmi Rubdi wrote:
I think an application runs on the root context / by default, if it's
configured this way in server.xml :
Engine name=Catalina defaultHost=localhost
Host name=localhost appBase=webapps/projectname
Context path= docBase=C:\dev\projects\projectname reloadable=true
[EMAIL PROTECTED] wrote:
Hi John,
Ok, I'm going to try show you how I think about this stuff... and I'm
often wrong ;)
Dont use a redirect... it goes back to the browser and its not cool.
Firstly make a servlet and have a look at the CONTEXT.XML file under
META-INF
Thank you for taking
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: How does one configure Plain host domain url to
run web app?
Dont use a redirect... it goes back to the browser and its not cool.
Nothing wrong with redirects. They're quite appropriate to allow
-Rashmi
- Original Message
From: John Moore [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, March 13, 2007 4:12:48 PM
Subject: Re: How does one configure Plain host domain url to run web app?
Rashmi Rubdi wrote:
I think an application runs on the root
On 3/13/07, John Moore [EMAIL PROTECTED] wrote:
Problem with this an your solution is that is it messy..
Front-ending Tomcat with Apache is messy :-)
If you *must* use Apache for whatever reason, you'd be better off
using mod_proxy_ajp in conjunction with mod_rewrite to handle this
Hassan Schroeder wrote:
On 3/13/07, John Moore [EMAIL PROTECTED] wrote:
Problem with this an your solution is that is it messy..
Front-ending Tomcat with Apache is messy :-)
Really.. Why.. ??
-
To start a new
Thank you for replying..
This is one webapp among many on this server..
So if I understand you correctly this will not be possible..
If I have miss understood.. could you clarify..??
John..
Rashmi Rubdi wrote:
If you place your application as ROOT.war , directly under Tomcat's webapps
On 3/13/07, John Moore [EMAIL PROTECTED] wrote:
Front-ending Tomcat with Apache is messy :-)
Really.. Why.. ??
By which I meant, httpd is an extraneous complication, unless you
really need to have something like PHP or other service outside of
Tomcat. Do you?
If that's the case,
for app1 and app2 that point to the
application server
-Rashmi
- Original Message
From: John Moore [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, March 13, 2007 7:41:40 PM
Subject: Re: How does one configure Plain host domain url to run web app?
Thank you
(Tomcat 4.x)
I have the following url that runs an application (pseudo url for
discussion only)
http://www.mydomain.com/mysite/thecontext
works fine..
I would like to configure it so that..
http://www.mydomain.com
gets me to the same place..
I can place a redirect html page at
: Monday, March 12, 2007 9:28:59 PM
Subject: How does one configure Plain host domain url to run web app?
(Tomcat 4.x)
I have the following url that runs an application (pseudo url for
discussion only)
http://www.mydomain.com/mysite/thecontext
works fine..
I would like to configure it so
17 matches
Mail list logo