On 10/29/15, John Iliffe <john.ili...@iliffe.ca> 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-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to