Forum Discussion
Drew_24540
Nimbostratus
Aug 04, 2009uri redirect help please
I am trying to use the following Irule to redirect to a URI...but it is not working. any thoughts?
when HTTP_REQUEST {
if {[HTTP::uri] equals {http://start/}} {HTTP::uri {http://...
hoolio
Cirrostratus
Aug 04, 2009Take a quick look at the descriptions for HTTP::host (Click here) and HTTP::uri (Click here) and then give this a try:
when HTTP_REQUEST {
Check requested host
if {[string tolower [HTTP::host]]" eq "start"}{
Check requested URI
if {[HTTP::uri] eq "/"}{
Redirect client to new location
HTTP::redirect "http://start.beazer.com/citrix/xenapp/auth/login.aspx"
}
}
}
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
