Forum Discussion
Mike_Graston_10
Nimbostratus
Jan 26, 2007Adding a uri if one doesn't exist
Currently I have a url split between several pools depending on uri portion. How would I modify the Irule to insert a uri if none is present?Any help would be appreciated...
when HTTP_REQUES...
Leo_Katona_5507
Nimbostratus
Jan 29, 2007Does this work:
when HTTP_REQUEST {
if {[string equal [HTTP::uri] {/}] } {
HTTP::uri {/ghi/}
}
}
If it doesn't, change the "Type" configured for the virtual server to "Standard" and retry.
Also, was it clear to you that this causes BIG-IP to modify the HTTP request passing from the user to the server? Therefore, even though the content is coming from http://www.example.com/ghi/, the user's web browser will still show http://www.example.com/ in the address field.
-Leo
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