Forum Discussion
Replace part of irule and irule applied doesnt work.
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/sites/mkt/CPTeam/"}{ HTTP::respond 302 Location "http://[string tolower [HTTP::host]][string map [list "/sites/mkt/CPTeam/" "/sites/cbtit/"] [HTTP::uri]]" Connection Close } }
when url is requested http://mydocs.dcba.com/sites/mkt/cpteam ---- this is getting replaced with http://mydocs.dcba.com/sites/hiait But when below is requested there is no change. http://mydocs.dcba.com/sites/mkt/cpteam/_layouts/viewlsts.aspx but when request comes this way there is no change.
url should change to http://mydocs.dcba.com/sites/cbtit/_layouts/viewlsts.aspx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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