Forum Discussion
Christian_15126
Jan 08, 2013Nimbostratus
I thought that this part took care of the HTTP::query (but i didn't write that part of the code):
F5 doesn't put the question mark in the query string
if { [HTTP::query] equals "" } { set new_query "" }
else { set new_query "?[HTTP::query]" }
if { $static::debug > 1 } { log local0. "new query string is \[$new_query\]" }
HTTP::respond 301 Location "http://${static::a_sub}.${static::domain}/$new_query"