Forum Discussion
paul_dcc
Nimbostratus
Jul 16, 2010HTTP Redirect
Hi All,
I created a simple Irule to do a redirect, but when I test this it takes me to the wrong page beacause it add a / to the end of the url string which I do not require,
Coul...
hoolio
Cirrostratus
Jul 19, 2010Hi Paul,
If the clients could be sending a request to the original hostname with a full query string, you should consider URL encoding the original URI before appending it to the new URI using the URI::encode command. See this post for more info:
URI::encode question
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/aft/61577/afv/topic/Default.aspx61591
URI::encode wiki page
http://devcentral.f5.com/wiki/default.aspx/iRules/uri__encode
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