Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 63050 invoked from network); 30 Jan 2008 18:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 18:09:55 -0000 Received: (qmail 93551 invoked by uid 500); 30 Jan 2008 18:09:34 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 93519 invoked by uid 500); 30 Jan 2008 18:09:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 93494 invoked by uid 99); 30 Jan 2008 18:09:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 10:09:33 -0800 X-ASF-Spam-Status: No, hits=4.3 required=10.0 tests=DNS_FROM_RFC_BOGUSMX,SPF_SOFTFAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of delbd+jakarta@oma.be does not designate 195.238.6.171 as permitted sender) Received: from [195.238.6.171] (HELO mailrelay005.isp.belgacom.be) (195.238.6.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 18:09:20 +0000 X-Belgacom-Dynamic: yes Received: from 144.210-177-91.adsl-dyn.isp.belgacom.be (HELO [10.0.0.3]) ([91.177.210.144]) by relay.skynet.be with ESMTP; 30 Jan 2008 19:09:13 +0100 Message-ID: <47A0BD38.1010308@oma.be> Date: Wed, 30 Jan 2008 19:08:56 +0100 From: David Delbecq User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Redirect "HOST" to "HOST:PORT" References: <20080130174624.13A0E4DA3B0@nike.apache.org> In-Reply-To: <20080130174624.13A0E4DA3B0@nike.apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org 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. falvarez@geocom.com.uy 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:delbd+jakarta@oma.be] > 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. > > falvarez@geocom.com.uy 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: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org