Forum Discussion
alinayesina_102
Mar 13, 2009Nimbostratus
Responce URI Masking/Hiding
We would like to consult on the possibility of performing a URL rewrite with the use of an iRule for domain.com. it’s not a good practice for our homepage to show as http://www.domain.com/home/default...
The_Bhattman
Mar 13, 2009Nimbostratus
You could do something like the following:
when HTTP_REQUEST {
if { [HTTP::host] eq "www.domain.com" } {
HTTP::uri /home/default.htm
}
}
This is a very simple example of how to take an ordinary request of http://www.domain.com/ and pass it to the web server with the full uri but still hid it from the client's URL Locator. That is of course the if there is something on the domain that redirects it back to using the full URI.
Hope this helps
CB
this would take the request www.domain.com
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