perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlie Garrison <garri...@zeta.org.au>
Subject Re: detecting scheme (http or https)
Date Sat, 10 Dec 2005 01:13:10 GMT
Good morning,

On 8/12/05 at 10:09 AM -0500, Perrin Harkins <perrin@elem.com> wrote:

>On Thu, 2005-12-08 at 09:02 -0600, JT Smith wrote:
>> That's what I'm saying, mod_proxy IS proxying mod_perl. However, the
>> HTTPS environment variable doesn't come through the proxy.
>
>You will have two different hosts on your proxy -- one for HTTP, and one
>for HTTPS.  Have one of them send things to mp_http.example.com and the
>other to mp_https.example.com and then you can tell if it's HTTPS by
>looking at the host name.

Or use two different ports; eg. forward http to 8080 and https to 8443. Same
logic but doesn't require creating extra host name in dns. It does require an
extra (duplicate) virt host config in the backend though.


Charlie

-- 
   Charlie Garrison  <garrison@zeta.org.au>
   PO Box 141, Windsor, NSW 2756, Australia

Mime
View raw message