Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72280 invoked from network); 16 Sep 2008 03:53:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 03:53:18 -0000 Received: (qmail 55783 invoked by uid 500); 16 Sep 2008 03:53:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55751 invoked by uid 500); 16 Sep 2008 03:53:02 -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 55740 invoked by uid 99); 16 Sep 2008 03:53:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 20:53:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [202.165.103.58] (HELO web15001.mail.cnb.yahoo.com) (202.165.103.58) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Sep 2008 03:52:01 +0000 Received: (qmail 87894 invoked by uid 60001); 16 Sep 2008 03:51:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=pwWXfj2KVqf6eyJ2o7qNj1zYSkcMMg2gBYS+uxXbYepVVwnww2ZZM8ThIW8HhFzf1M7llgDkJCI8p5MnKMCSRp7L0NcGkE6CAtDqbBh/zv0l6xB+/ndtm5ylY8CBcZr8lrys14DOl0XIQbkVUDj9lO/0bfeDzMhQCY+tEcyJhlg=; X-YMail-OSG: OpKaKB4VM1lhMsmPRrLblTuwFsnaKSUk1y88zwqWJ8_mbSa.DbvjBO3gcfRHEdM6g_RLRF44CoiKbKXHCpd17.GGh3aRwhPTKPE2VHOXzjn2qbVZSp8jrNZfiaQ3WUSUmr4FR1fx2EilBslMG5v2jQoH Received: from [61.194.57.68] by web15001.mail.cnb.yahoo.com via HTTP; Tue, 16 Sep 2008 11:51:30 CST X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Tue, 16 Sep 2008 11:51:30 +0800 (CST) From: =?gb2312?B?wO7V9w==?= Subject: =?gb2312?B?u9i4tKO6IGFib3V0IENvbm5lY3RvcidzIGF0dHJpYnV0ZSByZWRpcmVjdFBv?= =?gb2312?B?cnQ=?= To: Tomcat Users List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1480683192-1221537090=:87819" Message-ID: <157968.87819.qm@web15001.mail.cnb.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1480683192-1221537090=:87819 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable =0Athx so much for the detail=0A=0Ai use mod_jk to make apache and tomcat w= ork together=0A=0Abelow is the setting for my connector=0A =0A=0Awhy i can't get anything from =0Anetstat -apn | g= rep 8443=0A?=0A=0A-- lizheng=0A=0A=0A----- =D4=AD=CA=BC=D3=CA=BC=FE ----=0A= =B7=A2=BC=FE=C8=CB=A3=BA Christopher Schultz = =0A=CA=D5=BC=FE=C8=CB=A3=BA Tomcat Users List =0A= =D2=D1=B7=A2=CB=CD=A3=BA 2008/9/13(=D6=DC=C1=F9), =C9=CF=CE=E72:28:48=0A=D6= =F7=CC=E2=A3=BA Re: about Connector's attribute redirectPort=0A=0A-----BEGI= N PGP SIGNED MESSAGE-----=0AHash: SHA1=0A=0A=C0=EE=D5=F7,=0A=0A=C0=EE=D5=F7= wrote:=0A> If this Connector is supporting non-SSL requests, and a request= is=0A> received for which a matching requires SSL=0A= > transport, Catalina will automatically redirect the request to the=0A> po= rt number specified here. The default value is 443.=0A> =0A> but i still do= n't understand what redirectPort is used for.=0A=0AWhen you are using HTTP = (non-secure) and your security settings for a=0Aresource (set using in the =0Asections of web.xml) call for= a CONFIDENTIAL or INTEGRAL transport, HTTP=0Ais not considered acceptable.= In this case, Tomcat will issue a redirect=0Ato the client (web browser) i= ndicating that HTTPS should be used.=0ASometimes, the port number you want = to use is not 443 (the default). If=0Ayou want to override this default, yo= u can use the redirectPort=0Aattribute to set that port.=0A=0AFor instance,= if you are running a standard web server configuration,=0Ayou'll want to s= et redirectPort=3D"443" (or leave it out entirely, as this=0Ais the default= ). If, instead, your HTTPS server is listening on port=0A12345, then you'll= want redireftPort=3D"12345".=0A=0AIf you don't use HTTPS, then you can saf= ely ignore this setting.=0A=0AHonestly, this attribute could have a better = name (perhaps,=0AsecureRedirectPort or something like that).=0A=0A- -chris= =0A-----BEGIN PGP SIGNATURE-----=0AVersion: GnuPG v1.4.9 (MingW32)=0ACommen= t: Using GnuPG with Mozilla - http://enigmail.mozdev.org=0A=0AiEYEARECAAYFA= kjKptAACgkQ9CaO5/Lv0PCdlACfQknLbNm8YRmaj5+fgNKvYjKd=0A074An28V+Iv8JnBIBpgLF= R/uatDGcbC0=0A=3DygE4=0A-----END PGP SIGNATURE-----=0A=0A------------------= ---------------------------------------------------=0ATo start a new topic,= e-mail: users@tomcat.apache.org=0ATo unsubscribe, e-mail: users-unsubscrib= e@tomcat.apache.org=0AFor additional commands, e-mail: users-help@tomcat.ap= ache.org=0A=0A=0A ____________________________________________________= _______ =0A =D1=C5=BB=A2=D3=CA=CF=E4=A3=AC=C4=FA=B5=C4=D6=D5=C9=FA=D3=CA=CF= =E4=A3=A1 =0Ahttp://cn.mail.yahoo.com/ --0-1480683192-1221537090=:87819--