tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Redirect "HOST" to "HOST:PORT"
Date Wed, 30 Jan 2008 17:46:05 GMT
Thanks a lot for such a fast answer but actually I'm a newbie and really
don't know how to do what you proposed.

How can I find out if I have an Apache HTTPD server??? Or if it listens to
port 80???

The folders under my Tomcat goes like this (very simlilar to the one in

+ Tomcat
	+ bin
	+ common
	+ conf
		· web.xml
		· server.xml
	+ logs
	+ server 
	+ shared
	+ webapps
		+ myapp
			· index.htm (here is another redirect to the login
		+ ROOT
			· index.htm (this one has the redirect I mentioned
in the first mail)
	+ work

This is all local, and I don't think I have anything else installed.

Do I require more software in order to solve this problem???

Thanks again,

-----Mensaje original-----
De: David Delbecq [] 
Enviado el: Wednesday, January 30, 2008 15:16
Para: Tomcat Users List
Asunto: Re: Redirect "HOST" to "HOST:PORT"

Just use the same trick you already do. This time, instead of putting your
index.html at ROOT, put it under the root folder of an apache httpd server
for that host. This assumes you run an apache httpd server on that server
and it listens to port 80. a écrit :
>> I'm running tomcat 5.0 in a SUSE environment.
>> To access the webapp the user has to enter in a web browser 
>> "app.server:8443" and it automatically redirects to 
>> "https://app.server:8443/myapp/servlet/login" (this is made with an 
>> index.htm in the ROOT context). What I have been looking for is to 
>> avoid the user to enter the port, so he just enters "app.server" and 
>> the redirect to work the same. But I cant find the way to do this.
>> I've been working on this locally, trying to make "localhost" to jump 
>> to "http://localhost:8080/myapp/servlet/login" with no good results. 
>> Locally I don't use HTTPS.
>> I know it doesn't make much diference because most users have 
>> bookmarks, but setting up new workstations gets a little easier for 
>> the helpdesk team and supporting the rest of the users too. For them 
>> to remember the port is a little awkward because the concept is not
>> Thanks in advance,
>> 	Federico.

To start a new topic, e-mail: To unsubscribe,
For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message