Forum Discussion
kg_50758
Nimbostratus
Jul 25, 2007Standard HTTPs redirect
I am new to iRules, when i tried the standard https redirect if the url ends with '.do, could not get it to working. iRules i used is as below
when HTTP_REQUEST {
if { [HTTP::uri]...
hoolio
Cirrostratus
Jul 31, 2007Out of curiosity, what was the issue? Also, it might not matter much, but I think it would be more exact to check to see if HTTP::path ends in .do. HTTP::uri contains the complete HTTP object and the query string. HTTP::path contains only the object (and not the query string). So '[HTTP::uri] ends_with .do' would return true for a request like /some/file.php?param=test.do
Aaron
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