Forum Discussion
Brandon_11574
Mar 24, 2011Nimbostratus
Rewrite Rule
I am needing to do a URL Rewrite where a visitor requests http://domain.com/newFolder/ but they actually see the content from http://domain.com/oldFolder/
So when they request http://domain....
hooleylist
Mar 24, 2011Cirrostratus
If the app responds with /oldFolder/ in the path, you'd also want to rewrite it to /newFolder/ in redirects and response content. You can do this using using HTTP::is_redirect and a stream profile and STREAM::expression.
http://devcentral.f5.com/wiki/default.aspx/iRules/stream
http://devcentral.f5.com/wiki/default.aspx/iRules/http__is_redirect
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