httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Watanabe, Yu" <yu.watan...@jp.fujitsu.com>
Subject [users@httpd] RE: Modifying Location header with mod_headers
Date Tue, 02 Jul 2013 09:02:44 GMT
Sorry . My 2nd configuration supposed to be ,

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


From: Watanabe, Yu [mailto:yu.watanabe@jp.fujitsu.com]
Sent: Tuesday, July 02, 2013 5:56 PM
To: users@httpd.apache.org
Subject: [users@httpd] 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


Mime
View raw message