Re: How does one configure Plain host domain url to run web app?

2007-04-07 Thread John Moore
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

Re: How does one configure Plain host domain url to run web app?

2007-03-17 Thread Rashmi Rubdi
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

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread 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:

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread Mark Thomas
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:

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread org
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

RE: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Caldarale, Charles R
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
[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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Rashmi Rubdi
-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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Hassan Schroeder
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread John Moore
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

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Hassan Schroeder
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,

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Rashmi Rubdi
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

How does one configure Plain host domain url to run web app?

2007-03-12 Thread John Moore
(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

Re: How does one configure Plain host domain url to run web app?

2007-03-12 Thread Rashmi Rubdi
: 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