Forum Discussion
Wil_Schultz_101
Nimbostratus
Oct 31, 2006Long URI's, part II
I had this thread awhile ago and figured it out on v4, how would I do the same on v9? Click here
else if (substr(http_uri, 0) > 255) {
redirect to "http://www.mysite.com" + substr(http_uri, 0, ...
hoolio
Cirrostratus
Oct 31, 2006Were you seeing problems in 9.x with long URIs? If so what kind of problems? I've tested 1024 character URIs previously with 9.x and not found any issues.
Is that the full rule? You could also use string length to get the count of characters in the URI:
...
elseif { [string length [HTTP::uri]] > 513 }{
HTTP::redirect "http://www.mysite.com"
}Can you post the full text of (both?) rules to see along with the error you're seeing?
Thanks,
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
