Forum Discussion
dmbake88_23490
Nimbostratus
Jan 11, 2008http redirect irule
I'm looking to write an irule (unless there is another way to do this with the f5) to redirect an http request coming into a vip. The uri is a little long for the customer and it would be easier on t...
dmbake88_23490
Nimbostratus
Jan 11, 2008sorry, the updated uri. as you can see all we are trying to accomplish is adding characters to the uri - i guess this can be considered a redirect.
when HTTP_RESPONSE {
if { [HTTP::status] starts_with "3" } {
HTTP::header replace Location [string map -nocase {stringx.stringy.local stringx.stringy.local/xyz/menu4you.maf} [HTTP::header Host]]
}
}
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