httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Using mod_headers to modify an existing header
Date Tue, 17 Jul 2007 02:11:28 GMT
On 7/16/07, Van Der Hart, Kevin <> wrote:
> We are terminating an SSL session on a load balancer in front of an
> Apache web server. Things work fine except for a few portions of the app
> running behind Apache (compiled 3rd party program which we have no
> source access to) sends some 302 redirect responses with a location
> header that has http instead of https. If the request to Apache is https
> the app can tell and will send https redirects but since Apache is only
> doing http, that's all it returns for the redirects. I know how to add,
> set, and unset headers with mod_header. Is it possible to check for the
> location header and if it exists with change
> it to for all response headers?

I doubt that mod_headers is going to be able to modify Location.

However, although I haven't tried it, you might be able to fix this
with the (unfortunately undocumented) Protocol directive:

Protocol https
UseCanonicalName On


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