Forum Discussion
Tony_Lee_73702
Nimbostratus
Oct 13, 2005HTTP rewrite for lots of URLs
Hi all,
I've got a pair of 3400s running 9.0.5. I've created a HTTP-based VS load balancing traffic against a handful of IIS servers.
I'm in a web hosting environment and I've g...
Richard__Harlan
Nov 01, 2005Historic F5 Account
After reading these posts we started playing around with the idea of moving or redirector to the BigIP. Two problem pop up, one which should not be a big problem in the future for us is there a way to do a nocase on a class. The second if is or business people have put + signs in there url is there a way I can put the + sign in the class? Thanks
Below is the iRule if it will help
when HTTP_REQUEST {
log start
set lookup [HTTP::host][HTTP::uri]
log $lookup
set mapping [findclass $lookup $::redir_class " "]
if { "" ne $mapping } {
redirect to "$mapping"
log "[HTTP::host] to $mapping"
} else {
set mapping [findclass [HTTP::host] $::redir_class " "]
if { "" ne $mapping } {
redirect to "$mapping"
log "[HTTP::host] to $mapping"
} else {
log "no hit [HTTP::host]"
redirect to "http://www.deere.com"
}
}
}
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