Forum Discussion
Dharmendra_2243
Nimbostratus
Oct 08, 2009DBI:iRule when match with string,divert to pool
1. Create new pool for the sitemap seo project with the following parameters. Nodes (yeswebp1, yeswebp2, and yeswebp3) Port ( 1910 on all three nodes)
2. Create the i-Rule on BigIp to redirect ...
hoolio
Cirrostratus
Oct 08, 2009Here is an example which selects a separate pool for requests for /robots.txt. All other requests will be sent to the default pool configured on the VIP:
when CLIENT_ACCEPTED {
Save default pool name
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
Check requested path
switch [HTTP::path] {
"/robots.txt" {
Request is for /robots.txt, use different pool
pool robots_pool
}
default {
Request not for /robots.txt, use default pool
pool $default_pool
}
}
}
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