RE: Modifying Location header with mod_headers

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

 



Sorry . My 2nd configuration supposed to be ,

 

Header always edit Location ^http://localhost:8000 http://hoge.localhost

 

 

From: Watanabe, Yu [mailto:yu.watanabe@xxxxxxxxxxxxxx]
Sent: Tuesday, July 02, 2013 5:56 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Modifying Location header with mod_headers

 

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

 

Location: http://localhost:8000

 

To

 

Location: http://hoge.localhost

 

I have tried following patterns but none of seems to work.

 

Header always edit Location localhost hoge.localhost

 

And

 

Header always edit Location ^http://localhost:8000 hoge.localhost

 

Can someone give me a helping hand with the grammer?

 

Thanks,

Yu

 


[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