Forum Discussion
Ethan_West_1101
May 01, 2008Historic F5 Account
301 to Redirect
Hi All,
I am trying to get an iRule working that will redirect on a 301 to the Specific Host URI requested. This is for an application that users request is without the trailing slash (http...
hoolio
Cirrostratus
May 01, 2008If you always want to use the same domain in the redirect, you can set it statically. Else, if it needs to change dynamically according to what the client requested, you'd need to save the host header value on every request to use in rewriting the redirects. If you know the string you want to search for it would be more efficient to hardcode that as well.
Do you know the strings you want to search for and replace, or do you need to parse these dynamically from the client request and the app's redirect response?
Aaron
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