Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2007, 10:17 PM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connector redirectPort

I am having a bit of trouble finding out the specifics of the way the redirectPort attribute of a Connector functions, particularly in relation to using Tomcat with Apache. The test environment I have been given to learn from has an Apache virtual host defined that uses SSL. It has a JkMount directive that refers to a worker connected to port 8009. The Connector in Tomcat that listens to port 8009 doesn't have 'secure' set to true, and has 'redirectPort' set to 8443.

If there is no <security-constraint> setup in web.xml, does this mean that the request will be processed without redirecting? Does this mean SSL between the client and Apache and no SSL between Apache and Tomcat?

If the web.xml did require SSL, does this mean that the redirectPort would be used? If so, does that normally mean it should be picked up at the Apache end on 8443 or that I must have another Tomcat Connector defined as port 8443 with secure=true to the request can be directed straight back into Tomcat without going through Apache again?

Sorry if this all seems a bit vague, I've looked a fair bit and I am struggling to find any documentation that spells this process out in a way that helps me understand what is really going on here.

Any information that sheds any light on this would be greatly appreciated!

Stuart





Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Connector Error rturner003 BOOK: Professional Crystal Reports for VS.NET 0 October 30th, 2007 04:49 AM
jk connector URGENT ISSUE supreet Apache Tomcat 1 March 31st, 2007 11:56 AM
Apache + JK Connector + Tomcat problem ! wireblock Apache Tomcat 6 March 23rd, 2005 06:17 AM
Ximian connector for Microsoft Exchange server skarmoo Linux 1 February 17th, 2004 07:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.