Forum Discussion
Eric_123944
Nimbostratus
Mar 06, 2013default document and parameter based on host header
Hi I'm quite new to this, so please forgive me if this is something that you've seen before and have already answered.
I have an iRule that I wrote as more of a proof of concept. Basically I wan...
Arie
Altostratus
Mar 07, 2013I just spotted another problem in your rule: you're using HTTP::uri. However, this includes the querystring. In other words, a request to "http://domain.com/?refid=campaign5" would not be redirected. You'll want to use HTTP::path instead.
Note: the documentation mentions that only a question mark (?) is parsed as a seperator. Depending on the situation this may still allow someone to bypass the redirect.
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