Forum Discussion
minnoce944
Nimbostratus
Oct 01, 2007rewrite URI syntax
Hi there I'm new to i-rules and to the F5 product line in general. I have a VIP that needs to rewrite (not redirect) the URI based on the sub-domain.
I'm using ver BIG-IP 9.2.3 Build 34.8 ...
Patrick_Chang_7
Oct 03, 2007Historic F5 Account
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
switch [HTTP::host] {
"app1.company.com" { HTTP::redirect "http://app1.company.com/app1.html" }
"app2.company.com" { HTTP::redirect "http://app2.company.com/app1.html" }
}
}
}
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
