httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] apache as reverse-proxy : forwarding SSL environment variables
Date Tue, 14 Jun 2005 15:09:53 GMT
Hi all.

Thanks for your support

Joshua Slive wrote:
>> You can set them in a cookie or in the query string.  mod_rewrite can
>> do either of these.
>> Then, if necessary, mod_rewrite on the back-end machine could put them
>> back in the environment.

Brian Hughes '89 wrote:
> What I've been doing with my Apache reverse proxies is to use 
> mod_rewrite and mod_header to take the SSL var(s) and set them as HTTP 
> request headers for the reverse-proxy request. This has the advantage of 
> being a little "cleaner" if you have calls into your application machine 
> that either already uses cookies, or that makes use of query strings.

As the machines are currently running apache 1.3x at this time (no 
upgrade planned at this time), I'll try forwarding the env via query 
string as Joshua advised me.
The mod_headers method advised by Brian needs apache 2.x as mod_headers 
can't set request headers on apache 1.3 (only response headers)

Best regards,


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message