Forum Discussion
tarma_58716
Nimbostratus
Jun 12, 2011split port url in the https class redirection
Hi i've a httpclass wich redirect the client to a new URL:
profile httpclass localhost_redirect {
defaults from httpclass
pool none
redirect "http://172.x.x.x:"2131" ...
John_Alam_45640
Jun 12, 2011Historic F5 Account
Tarma
It is possible that some browser allows hiding the port number. I never heard of one. It would totally be up to the browser configuration.
The best way to shield the user from a port number is the way that nitass described.
If the aim is to change the URI as well as the port number. Create a little irule for VIP2 and change the URI there:
rule irule_for_vip2 {
when HTTP_REQUEST {
if {[HTTP::uri] eq "/"} {
HTTP::uri "/new_uri"
}
}
}
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