Forum Discussion
pjcampbell_7243
Cirrus
Aug 26, 2009404 error using image pool iRule
We are intermittently getting an "404" error instead of a blank box or box with an X on it on our pages when using the following iRule
when HTTP_REQUEST {
if { ...
hoolio
Cirrostratus
Aug 26, 2009I'd guess the issue is that a request that should go to the default pool on the VIP is going to the image pool. You could explicitly add a default case to the iRule or add a OneConnect profile to the virtual server to prevent this.
when CLIENT_ACCEPTED {
Save default pool name
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if { [HTTP::path] ends_with ".jpg" }{
pool images.xyz.com
} else {
pool $default_pool
}
}
For details on OneConnect and pool selection you can review Deb's articles linked from this post:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30865&ptarget=30875
and here:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=3392157229
Aaron
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
