Forum Discussion
aj11
Nimbostratus
Mar 03, 2017Sporadic 404 errors - where is this coming from?
We are getting sporadic 404 errors that show "Powered by Jetty" on a basic 404 page. We have a pool of servers using a VIP hosting a file, but random requests return this 404 page (maybe about 25%)....
Vijay_E
Cirrus
Mar 06, 2017You can try a simple iRule to log the 404 responses. Usually, 404 indicates a broken link or a old link that hasn't been transitioned over. Reference link.
when HTTP_RESPONSE {
if { [HTTP::status] == 404 } {
log local0. "============================================="
log local0. "$LogString (response) - status: [HTTP::status]"
foreach aHeader [HTTP::header names] {
log local0. "$aHeader: [HTTP::header value $aHeader]"
}
log local0. "============================================="
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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