Forum Discussion
Puli
Nimbostratus
Dec 09, 2010Problem with # in URLs
Am parsing below types of URLs in an iRule www.abc.com/docs/example1.html re-directs to www.abc.com/newdocs/example1.html www.abc.com/docs/example1.htmlhic re-directs to www.abc.com/newdo...
hoolio
Cirrostratus
Dec 13, 2010Hi Puli,
The in URIs is an anchor tag. It's used to tell the browser where in an HTML document to focus the page. HTTP user agents shouldn't send the anchor tag in the HTTP request line. So HTTP::uri shouldn't show the anchor. If you want to logically remove the anchor from URIs for datagroup lookups, you could use getfield to split the path on and take the first field:
http://devcentral.f5.com/wiki/default.aspx/iRules/getfield
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