Forum Discussion
Ben_Noonan
Nimbostratus
Mar 22, 2018Rewrite HTTP Address Displaying
Hi All,
I don't know if this is possible but I am trying to make the end user not see the page redirect in the address bar.
For Example:
User goes to webpage.domain.com/loginpage
That hits a VIP which redirects the traffic to server.doamin.com/loginpage
Now can I make it so in the address bar it is still showing webpage.domain.com/loginpage instead of server.doamin.com/loginpage ?
This is what I have some up with so for, bare in mind still new to iRules:
when HTTP_REQUEST {
if {
[string tolower[HTTP::host] not "webpage.domain.com"]}{
HTTP::header replace host "webpage.domain.com"}
return
}
2 Replies
No RepliesBe the first to reply
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