perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
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.

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net

Mime
View raw message