Forum Discussion
Don_22992
Nimbostratus
Apr 02, 2008stubborn 4xx/5xx Error Handler
I am sure this is simple....
I have the following iRule to redirect 4xx & 5xx errors to a page on a backend server. It works great - once I have sucessfully connected to the site once! What ...
hoolio
Cirrostratus
Apr 07, 2008Hi Don,
So this was case 2?
Requested "my.domain.com/DJ-Boston.jpg" (modified uri to force a 404 error); Received from browser "Internet Explorer cannot display the webpage":
Apr 3 11:32:28 tmm tmm[1627]: Rule stg-errors : 192.168.16.149:64126: Request my.domain.com generated response status: 404
Apr 3 11:32:28 tmm tmm[1627]: Rule stg-errors : 192.168.16.149:64126: Redirecting to 4xx.htm
Typically, you'd get the page cannot be displayed error when a TCP reset is sent to the client. If this was due to the iRule, I'd expect to see a TCL error. If you grep for TCL error in the ltm log file, do you find any matches (grep -i 'tcl error' /var/log/ltm')?
What version of BIG-IP code are you running? If you remove any ASM-enabled HTTP classes from the VIP, does the client get correctly redirected to 4xx.htm?
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
