On Thursday 29 October 2015 05:11:30 Hleb Valoshka wrote:
> Hi!
> 
> 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>


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to