perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <>
Subject Re: How to extract the protocol part of URL from an apache request
Date Wed, 17 Sep 2008 08:36:58 GMT
On Wed 17 Sep 2008, John ORourke wrote:
> I had the same problem but the machine serving the request had a
> reverse proxy in front of it.  I used the following to inject a
> header on the proxy:
>         SetEnv SCHEME http
>         RewriteCond %{HTTPS} on
>         RewriteRule ^(.*) $1 [E=SCHEME:https]

Yes, I think that should work as well without the reverse proxy. 
Mod_rewrite talks directly to mod_ssl.


Need professional mod_perl support?
Just hire me:

View raw message