Forum Discussion
jwhitene
Nimbostratus
Jul 31, 2013http::path trailing slash
iRule for a port 443 virtual server with ssl.
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/GoogleAltLogin-2.0.7" } {
pool googleAltLogin
} elseif { [HTTP::p...
Kevin_Stewart
Employee
Aug 01, 2013Could it perhaps be something else in the request process causing this? Are you trying this with a browser or cURL? Please try this version and report the results:
when HTTP_REQUEST {
log local0. "path = [HTTP::path]"
log local0. "uri = [HTTP::uri]"
if { [HTTP::path] starts_with "/GoogleAltLogin-2.0.7" } {
log local0. "google"
pool googleAltLogin
elseif { [HTTP::path] starts_with "/banner-mobileserver/" } {
log local0. "slash"
pool local-pool
} elseif { [HTTP::path] starts_with "/banner-mobileserver" } {
log local0. "no slash"
pool local-pool
} else {
log local0. "default"
pool local-pool-single
}
}
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
