I found out the specific cause of my problem and now I am looking at 
solutions.  The easiest is to take apache out of the equation and have tomcat 
handle the ssl.  I am on a hosted shared server and I think the reason apache 
is handling the ssl is to take the computational load of encryption off of the 
shared server so I am pretty much stuck in my present situation.

I think the solution that I can implement is modifying the HttpConnector to 
recoignise the difference b/t a request that has come through apache and been 
decrypted from a straight browser request to the http port.  

Has anyone made these modifications to the HttpConnector?  or is there perhaps 
some built in functionality in the HttpConnector that might allow me to do this 
without have to extend or modify it?

Thanks for any advice,
MG

----- Original Message ----
From: Mike Grandmaison <[EMAIL PROTECTED]>
To: tomcat-u <users@tomcat.apache.org>
Sent: Friday, March 2, 2007 2:25:50 PM
Subject: Http Connector Redirect - Not working with Portforwarding on hosted 
solution

Hi,

I am trying to get the 

<user-data-constraint>
   <transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>

to
work.  I have it working on my development machine.  The problem is
when I move the code over to the stagging server it does not work.

My
stagging server differs from my dev machine in that port forwarding is
taking place.  Specifically http and https ports for my virtual host
are being forwarded to tomcat. Now what I would expect in this case is
that all I would need to change would be the redirectPort attribute
value of the Http Connector such that it forwards to 443 which the port
forwarding would then forward to the tomcat specific https port.

I have tried that but without
 success.  Has anyone else had this problem and had any luck getting it to work 
under these conditions.

Thank you for any advice,

MG





 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

Reply via email to