Re: modifying Location header

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

 



On 10/29/15, John Iliffe <john.iliffe@xxxxxxxxx> wrote:
>> Is it possible to modify Location using mod_headers? I want to replace
>> http:// with https:// but Header edit http://(.*) https://$1 does not
>> work, neither with always. unset and set don't work as well, only add
>> works.
>>
>
> Why not this?
>
> <VirtualHost *:80>
>    ServerName www.example.com
> #   DocumentRoot /httpdpages
>    Redirect permanent / https://www.example.com/
> </VirtualHost>

Because vhost :80 is common for http and https: actual endpoint is
loadbalancer, apache is backend with a lot of redirects.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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