httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <john.ili...@iliffe.ca>
Subject Re: [users@httpd] modifying Location header
Date Thu, 29 Oct 2015 19:15:36 GMT
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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

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


Mime
View raw message