[users@httpd] modifying Location header

2015-10-29 Thread Hleb Valoshka
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. - To un

Re: [users@httpd] modifying Location header

2015-10-29 Thread Rainer Jung
Am 29.10.2015 um 10:11 schrieb Hleb Valoshka: 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. I can't see the word "Loca

Re: [users@httpd] modifying Location header

2015-10-29 Thread Hleb Valoshka
On 10/29/15, Rainer Jung wrote: > Am 29.10.2015 um 10:11 schrieb Hleb Valoshka: >> 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 wel

Re: [users@httpd] modifying Location header

2015-10-29 Thread Curtis Maurand
Use mod_rewrite in your .htaccess file. On 10/29/2015 5:32 AM, Rainer Jung wrote: Am 29.10.2015 um 10:11 schrieb Hleb Valoshka: 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

Re: [users@httpd] modifying Location header

2015-10-29 Thread John Iliffe
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. > Wh

Re: [users@httpd] modifying Location header

2015-10-30 Thread Hleb Valoshka
On 10/29/15, John Iliffe 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? > > >Serve

Re: [users@httpd] modifying Location header

2015-10-30 Thread Christopher Schultz
Hleb, On 10/30/15 10:24 AM, Hleb Valoshka wrote: > On 10/29/15, John Iliffe 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,

[users@httpd] Modifying Location header with mod_headers

2013-07-02 Thread Watanabe, Yu
Hi! I would like to ask question regarding to mod_headers. We have following environment deployed on linux box. RHEL 5.8 32 bit Httpd-2.2.22 I am trying to modify the “Location” header in the response header. However, Location header is not changed. I want to change as following, From Locatio