Forum Discussion
URL Masking
I'm afraid what you're asking for is not an easy thing to do. In the absence of any client side trickery, the state of an HTTP application, where you are in that application, is generally determined by its URI path. For example, if you have multiple pages within your application, how would users access them if all of the HTML links pointed simply to http://abc.com? The most common method for achieving this, interestingly, is with Ajax, where the main index page never changes but the content on that page is swapped out asynchronously via JavaScript. That's not something you would do in an iRule, but in the application itself. It technically could be done, but it wouldn't be the most intuitive thing in the world. Another option might simply be to mask the URI. There's still a path, but instead of "/xyz/abcdeefg.html", perhaps it's just "/foo". That of course would require some hefty mapping rules, but very much possible with something like a ProxyPass implementation or the rewrite profile in 11.4.
Ultimately, if you don't want the URI to change in the browser, then you can't allow the browser to request any URIs other than "/", which means you have to find another way to have the browser request a resource without changing the URI.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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