Forum Discussion
Kai_Wilke
Feb 20, 2016MVP
Hi Pjcampbell,
you can't see the Virtual Server name for those unhandled exeptions. But you could implement custom error handles accross the board, to get additional information which
[virtual]
and [HTTP::host][HTTP::uri]
was accessed.
Change every instance of...
HTTP::redirect "http:://www.site.de/"
... to ...
if { [catch { HTTP::redirect "http:://www.site.de/" }]} then { log local0.debug "Multiple Redirect Detected on [virtual] for [HTTP::host][HTTP::uri]" }
... by using an iRule-Editor export and a Text-Editor of your choice which supports RegEx and Multi-File replacements and then use those Search/Replace patterns...
Search: HTTP::redirect(.*)\n
Replace: if { [catch { HTTP::redirect$1 }]} then { log local0.debug "Multiple Redirect Detected on [virtual] for [HTTP::host][HTTP::uri]" }\n
Search: HTTP::respond(.*)\n
Replace: if { [catch { HTTP::respond$1 }]} then { log local0.debug "Multiple Responses Detected on [virtual] for [HTTP::host][HTTP::uri]" }\n
After replacement you should verify that the iRule are looking still good and then import the iRules back using the iRule-Editor.
Cheers, Kai