Forum Discussion
blwavg_10621
Nimbostratus
Aug 13, 2013Redirect Rewrite - F5 to Server Only
Hey,
We are moving from IIS to F5. I am having trouble with an invisible URI rewrite. My configuration is something like this:
Inbound Rule:
Pattern: .*
Condition:
Input: {HTTP_HOST}
...
ourback_109474
Nimbostratus
Aug 14, 2013There is no redirect above. You are rewriting the server side URI, but in HTTP a redirect is a specific HTTP 30x response code that causes the client to go to a URL.
The iRule you need would do 3 things:
1) rewrite the HTTP::uri from /* to /URI_REWRITE_PATH_HERE/*
2) change the HTTP::host from website.company.com to whatever the backend is expecting
3) select the proper backend pool (SERVER01_Farm)
Alternatively the proxypass irule does all of this and much more, and in 11.4+ you can just use the built in central policy matching stuff to do it.
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