RE: redirectPort results in HTTP Status 500
CONFIDENTIAL will only allow it to be transported via https. > -Original Message- > From: Bryan Field-Elliot [mailto:bryan_lists@xxx] > Sent: Friday, February 21, 2003 1:02 PM > To: Tomcat Users List > Subject: redirectPort results in HTTP Status 500 > > > I am (for the first time) playing with > CONFIDENTIAL. > > My site is already working fine on ports 80 and 443 (SSL), > I've just never used this declarative security mechanism before. > > I have this constraint applied to page "test.jsp" for me to > test the redirection. > > Every time I hit the page, I get a HTTP Status 500 from > Tomcat (4.1.18), "The server encountered an internal error > (/test.jsp) that prevented it from fulfilling this request.". > > When I hit the page "test.jsp" from https://, it loads just fine. > > Any help would be appreciated! Am I missing something? > > BTW Tomcat is fronted by Apache and mod_webapp. > > Bryan > > > > - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For additional commands, e-mail: tomcat-user-help@xx
RE: redirectPort results in HTTP Status 500
On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for "/test.jsp" on port 80, have it redirect to port 443 with "https:". It's documented that this is supposed to work, but, I am hitting a snag somewheres.. Bryan
RE: redirectPort results in HTTP Status 500
make sure your "redirect" port is set to 443 and not 8443 in server.xml Filip -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 10:13 AM To: Tomcat Users List Subject: RE: redirectPort results in HTTP Status 500 On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for "/test.jsp" on port 80, have it redirect to port 443 with "https:". It's documented that this is supposed to work, but, I am hitting a snag somewheres.. Bryan - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For additional commands, e-mail: tomcat-user-help@xx
RE: redirectPort results in HTTP Status 500
On Fri, 2003-02-21 at 11:13, Filip Hanik wrote: make sure your "redirect" port is set to 443 and not 8443 in server.xml Filip Thanks.. It is (set correctly to 443). Bryan
Re: redirectPort results in HTTP Status 500
Well, I was using JDK 1.3.1, and just for fun I tried booting up Tomcat on JDK 1.4, and the problem below just vanished. It works now. I'll report this as a bug (or at least, a request for documentation addendum) in Bugzilla, if it isn't already... On Fri, 2003-02-21 at 11:02, Bryan Field-Elliot wrote: I am (for the first time) playing with CONFIDENTIAL. My site is already working fine on ports 80 and 443 (SSL), I've just never used this declarative security mechanism before. I have this constraint applied to page "test.jsp" for me to test the redirection. Every time I hit the page, I get a HTTP Status 500 from Tomcat (4.1.18), "The server encountered an internal error (/test.jsp) that prevented it from fulfilling this request.". When I hit the page "test.jsp" from https://, it loads just fine. Any help would be appreciated! Am I missing something? BTW Tomcat is fronted by Apache and mod_webapp. Bryan