Forum Discussion
dyobbs_25515
Feb 14, 2012Nimbostratus
Nitass hi,
Given the irule:
rule myrule {
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
set newhost [string map {".acme.com.nz" ""} $host]
if {$host ne $newhost} {
HTTP::redirect "http://$newhost[HTTP::uri]"
}
}
using httpwatch, there's a response header that says HTTP/1.0 302 found
Location: http://
Can this maintain persistent session? Any traffic that goes into this iRule should have persistent session on the cache servers.
What can we put in?