Forum Discussion
JCMATTOS_41723
Nimbostratus
Jan 09, 2008ProxyPass iRule?
We have dual LTM's 9.4.1. We are trying to rewrite the url so that users will see http://xyzcompany/ in the url instead of http://123company/. We tried using the ProxyPass iRule sample:
http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass.html
Everything works like a charm except for two things? The 1st is it adds an extra whack "/" at the end of the url? Example: http://xyzcompany// not sure why? 2nd question is, the irule works fine until you access a third party hyperlink within the site? Example: http://zyxcompany/
In our Data Group List we have it currently set to:
"/ xyzcompany/"
Please help!
- Colin_Walker_12Historic F5 AccountCould you please past in a copy of you current rule so we can take a look?
- Deb_Allen_18Historic F5 AccountThe 1st is it adds an extra whack "/" at the end of the url? Example: http://xyzcompany// not sure why?Did you see this note buried deep in the documentation for the ProxyPass iRule about when not to specify a trailing slash in your class member entries?One thing that needs to be clarified is the usage of a trailing forward-slash in the examples above. Unless you really know what you are doing and are trying to do something unusual, simply follow these rules:
- Kirk_Bauer_1018
Nimbostratus
If you are using ProxyPass with no paths such as: - Kirk_Bauer_1018
Nimbostratus
To fix the trailing-slash bug, please find this code in the iRule code: - oliverb_68993
Nimbostratus
We have 2 big-ip's on version 9.3.0. I replaced the code in the iRule
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