Forum Discussion
wrightnz_34708
Jul 08, 2010Nimbostratus
ProxyPass
Hi - hope this is the right place to pose this question
Background:
We are using the ProxyPass irule v10.2 to setup URI shortcode/keyword redirects (rewrites?) e.g. www.123.com/checkthisout...
hooleylist
Jul 09, 2010Cirrostratus
If you send an HTTP redirect, the client will see the change in their address bar. If you rewrite the URI and/or host before sending the request to the server, the client will not see the change. So in concept you could modify the ProxyPassv10 iRule to send a redirect instead of rewriting the URI, but you'll need to strip out a fair amount of code related to the rewriting. You can send a 302 redirect with HTTP::redirect or any HTTP response with HTTP::respond.
http://devcentral.f5.com/wiki/default.aspx/iRules/http__redirect
http://devcentral.f5.com/wiki/default.aspx/iRules/http__respond
Aaron
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