Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69465 invoked from network); 6 Dec 2006 04:04:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 04:04:36 -0000 Received: (qmail 68818 invoked by uid 500); 6 Dec 2006 04:04:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 68357 invoked by uid 500); 6 Dec 2006 04:04:31 -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 68346 invoked by uid 99); 6 Dec 2006 04:04:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 20:04:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 20:04:19 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gro0e-00028v-By for users@tomcat.apache.org; Wed, 06 Dec 2006 05:03:52 +0100 Received: from pool-71-104-94-88.lsanca.dsl-w.verizon.net ([71.104.94.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 05:03:52 +0100 Received: from wbarker by pool-71-104-94-88.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Dec 2006 05:03:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: "Bill Barker" Subject: Re: Redirect in Tomcat 5.5 Not Working Date: Tue, 5 Dec 2006 20:03:54 -0800 Lines: 65 Message-ID: References: <1932.216.73.248.248.1165337266.squirrel@webmail.amnh.org> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-104-94-88.lsanca.dsl-w.verizon.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Sender: news X-Virus-Checked: Checked by ClamAV on apache.org "Latesha Williams" wrote in message news:1932.216.73.248.248.1165337266.squirrel@webmail.amnh.org... > We are running Tomcat 5.5.20 as a standalone web server for a > third-party's web and servlet applications. On this server (Linux), > Iptables is redirecting ports 80 to 8080 and 443 to 8443 (to run Tomcat as > regular user.) In addition, we are interested in configuring Tomcat so > that requests to port 8080 (default ports for both applications) are > automatically redirected to port 8443. > > After performing the following steps below, the redirect does not work. In > a web browser, both ports (8080 & 8443) can be accessed directly, but only > want port 8443 available for use. Any ideas on how to fix are > appreciated. > > (1) Created a self-signed certificate and changed the default keystore > pasword. > > (2) Un-commented the SSL HTTP/1.1 Connector section in server.xml (see > below). > > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" > keystoreFile="/some/file/path" > keystorePass="somepassword" /> > > (3) In file, $CATALINA_HOME/conf/web.xml, added the following: > > > > Entire Application > * This should be /* > GET > POST > > > CONFIDENTIAL > > > > (4)Restarted Tomcat. > > -- > Latesha Williams > Applications Support, Information Technology > American Museum of Natural History > lwilliams@amnh.org > 212.769.5947 > 917.837.2460 > > > --------------------------------------------------------------------- > 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