Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Tomcat 5.5 configuration

Susan Richards

2007-07-31

Replies:

In Tomcat 5.0.28, I had this in my server.xml:

<Host name="test-infonline.matc.edu" appBase="/www/apps/tomcat/webapps">
<Context path="" docBase="."/>
</Host>

and in the webapps directory I had an index.html page that redirected to the servlet:

<meta http-equiv="refresh" content=0;URL="http://test-infonline.matc.edu/test-infonline/test-infonline">

This probably wasn't the correct way, but it was the only way I could direct the dns to the application.
http://test-infonline.matc.edu

Now on Tomcat 5.5 this doesn't work. It takes me straight to the tomcat default page.

I really want to have 3 domain names on one server and be able to type in all three urls and go to the correct web application.

What am I doing wrong?

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.