Forum Discussion
What_Lies_Bene1
Jan 14, 2013Cirrostratus
Can you try this please? I've added some spaces (which probably won't help) and some logging that might;
when HTTP_RESPONSE {
if { [HTTP::is_redirect] } {
HTTP::header replace Location "[string map -nocase [list inside1.net fqdn.com] [HTTP::header value Location]]" }
else {
log local0. "Changing inside2.net location header"
HTTP::header replace Location "[string map -nocase [list inside2.net fqdn.com] [HTTP::header value Location]]" }
}