Forum Discussion
Deekdeek_103899
Mar 01, 2011Nimbostratus
Great stuff i made some little changes but this seems to work. Now i wanted to add 400,500 error redirects to this, should i incorporate into the same irule ? how would i include those?
when HTTP_REQUEST {
if { ![matchclass [IP::client_addr] eq M_Page] } {
if { not ([string tolower [HTTP::uri]] starts_with "/imageserver") } {
HTTP::redirect "https://xxx.xxxx.xxx/imageserver/ServiceUnavailable.html"
}
}
}