Michael_Mangret
Apr 11, 2007Nimbostratus
V9 to V4 Irule conversion
Can someone please help me convert an irule from v9 to v4? I am unfamiliar with the syntax for irules on v4.
Here is the irule in v9...
when HTTP_REQUEST {
if {[string tolower [HTTP::header x-moz:] ] contains "prefetch" } {
HTTP::respond 403 content "Forbidden"}
else {set host_pool [findclass [HTTP::host] $::DSHostPoolMap " "] }
if { $host_pool ne "" } {
pool $host_pool }
}
Thanks in advance
Mike