Forum Discussion
M_2
May 29, 2017Altocumulus
can you try the below irule.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.com" } {
if { [string tolower [HTTP::uri]] equals "/" } {
HTTP::respond 302 noserver Location "http://[getfield [HTTP::host] : 1]/etc/del"
} else {
pool mypool.pool
}
}
}