Re: modifying Location header

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

 



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@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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