Forum Discussion
DPIT_323803
Nimbostratus
Hi Gents,
I have put this to the VS at clientside.
Code when HTTP_REQUEST { set host [string tolower [HTTP::host]] switch $host { "; - "; - "; { HTTP::redirect "; } } }
But I don't know where to put the following response on serverside.
when HTTP_RESPONSE { if { [HTTP::header values Location] contains "; } { HTTP::header replace Location [string map { } [HTTP::header value Location]] } }
Can you tell me where to put the serverside irule?
Thanks DPIT
jaikumar_f5
Oct 19, 2017MVP
As said by Habib, that is 1 single rules working on different events. You should start learning Irule basics.