Forum Discussion
tobs_93015
Nimbostratus
Feb 18, 2009How to use iRule to mask URL path
Hi,
I would like to mask my home page URL path via an iRule condition because currently when a user navigate to my domain (http://www.mysite.com), it is redirected to an MCMS server bas...
hoolio
Cirrostratus
Feb 18, 2009Hello,
Are you running BIG-IP LTM v9 or v4.x? It isn't possible to rewrite HTTP requests in 4.x. For 9.x, you can post future questions in the other forum (Click here) to get more relevant eyes on your post.
HTTP::path (Click here) allows you to get or set the portion of the URI up to the query string.
HTTP::uri (Click here) allows you to get or set the entire URI including the path and the query string.
Are you wanting to mask the URL for every request? Or just for a specific requested path? If the latter, take a look at this post for information on why it's not really possible (Click here). If the latter, you can use HTTP::uri or HTTP::path to rewrite the request before it's sent to the pool.
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
