tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bijan Vakili" <Bijan.Vak...@cryptologic.com>
Subject RE: Apache SSL + mod_jk
Date Mon, 18 Dec 2006 16:38:30 GMT
Hi Rainer,

The proxy attributes, as you mentioned, were all I needed.

Thanks so much!

 
Bijan Vakili
Senior Software Developer
 
Cryptologic Inc. 
55 St-Clair W, 3rd floor, Toronto, Ontario, M4V 2Y7
Phone 416.545-1455 Ext 5892
E-Mail: bijan.vakili@cryptologic.com
SKYPE: bijanvakili 

This message, including any attachments, is confidential and/or
privileged and contains information intended only for the person(s)
named above. Any other distribution, copying or disclosure is strictly
prohibited. If you are not the intended recipient or have received this
message in error, please notify us immediately by reply email and
permanently delete the original transmission from all of your systems
and hard drives, including any attachments, without making a copy.
-----Original Message-----
From: Rainer Jung [mailto:rainer.jung@kippdata.de] 
Sent: Saturday, December 16, 2006 7:59 AM
To: Tomcat Users List
Subject: Re: Apache SSL + mod_jk

Hi,

there are plenty of ways, how those links could be produced. Usually it
works well with mod_jk, because mod_jk carries forward the information,
if the original protocol was http or https. So request.getScheme()
should return the right protocol prefix. The solution of your problem
will depend on the knowledge of which component actually produces the
absolute links.

The story is different, if you connect an ssl offfloading reverse proxy
via HTTP (in contrast to AJP/13). Then you need to configure the proxy
attributes of the incoming tomcat http connector.

Regards,

Rainer

Bijan Vakili schrieb:
> Hi,
> 
>  
> 
> I've been trying to get mod_jk to work where
> 
> 1)       Users connect to the Apache server via HTTPS
> 
> 2)       All requests are proxied to Tomcat via mod_jk using AJP1.3
> 
>  
> 
> I have been able to get this to work with HTTP.  However, when I
switch
> to using HTTPS, the HTML content returned by Tomcat through mod_jk
> always contains HTTP (hence there will be broken links everywhere). 
> 
>  
> 
> Does anyone know how to get this to work?  Is there a sample
> configuration I can look at that would do the same thing?
> 
>  
> 
>  
> 
> Thanks in advance,
> 
>  
> 
>  
> 
> Bijan Vakili
> 
> Senior Software Developer
> 
>  
> 
> Cryptologic Inc. 
> 
> 55 St-Clair W, 3rd floor, Toronto, Ontario, M4V 2Y7
> Phone 416.545-1455 Ext 5892
> E-Mail: bijan.vakili@cryptologic.com
> <mailto:bijan.vakili@cryptologic.com> 
> 
> SKYPE: bijanvakili 
> 
> This message, including any attachments, is confidential and/or
> privileged and contains information intended only for the person(s)
> named above. Any other distribution, copying or disclosure is strictly
> prohibited. If you are not the intended recipient or have received
this
> message in error, please notify us immediately by reply email and
> permanently delete the original transmission from all of your systems
> and hard drives, including any attachments, without making a copy.
> 
>  
> 

---------------------------------------------------------------------
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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
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


Mime
View raw message