httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] mod_rewrite: appending to query string on custom HTTP header
Date Wed, 23 Mar 2005 14:19:10 GMT
On Wed, 23 Mar 2005 01:13:06 +0000, Terrence Brannon
<> wrote:
> So finally: when a request hits our apache server and the request
> includes the header x-vc-https with value "on" then how might I append
> "SECURE=1" to the query string and then redirect the entire new request to
> http://localhost:8071/$ENTIRE_NEW_REQUEST

Your question is not exactly clear, but this might get you started:

RewriteCond %{HTTP:X-VC-HTTPS} ^on$
RewriteRule (.*) http://localhost:8071/$1?SECURE=1 [QSA,R]


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