Using mod_headers to modify an existing header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 http://host1.domain.com/... change
it to https://host1.domain.com/... for all response headers? 

Thanks,

Kevin

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux