Forum Discussion
TMAdmin
Nimbostratus
Apr 29, 2015Rewrite URI while keeping the URI query
Hi, I am trying to rewrite the URI while keeping the URI query intact Ideas anyone? Below is the code I have attempted to use. Minor note: If the request is sent without any query parameters,...
TMAdmin
Nimbostratus
Apr 29, 2015Hello Robert. It was pretty close for me to work with. I did not know the use of HTTP::path - now I do. Thanks. This is what worked eventually:
when HTTP_REQUEST {
if { ([HTTP::host] equals "some.domain.com") and ([HTTP::path] equals "/jsp/cactus/cactusGardens.jsp") } {
HTTP::path "/members/Gardens.jsp"
}
}
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