apache httpd server is not related to tomcat. It's a "classical" web
server (http://httpd.apache.org/). Tomcat is a java application server.
If you are under linux, there most probably an already existing package
for this. If you are under windows, you can simply have your tomcat
listen to port 80.
[EMAIL PROTECTED] a écrit :
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
SUSE):
+ Tomcat
+ bin
+ common
+ conf
· web.xml
· server.xml
+ logs
+ server
+ shared
+ webapps
+ myapp
· index.htm (here is another redirect to the login
page)
+ 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,
Federico.
-----Mensaje original-----
De: David Delbecq [mailto:[EMAIL PROTECTED]
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.
[EMAIL PROTECTED] 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
clear.
Thanks in advance,
Federico.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]