Forum Discussion
Koalan
Dec 02, 2019Cirrus
Hide port in the URL
Hi my question is same with https://devcentral.f5.com/s/question/0D51T00006i7YgK/hide-port-in-url but i dont see the answer for this, so my setup is: the client access VIP:443 like https://1.1....
- Dec 03, 2019
Hi,
No, there is no way to hide the port @client side as the port used is not the standard one (80 for HTTP). if you remove the port from the URL http://1.1.1.1:2001/devcentral, the client will automatically target the port 80.
Ahmed_Galal
Dec 08, 2019Cirrostratus
below iRule will change return redirect URLs back to https and set remote port to https port:-
when HTTP_RESPONSE {
if { [HTTP::header is_redirect]} {
HTTP::header replace Location https://[string map {"http://" ""} [string map ":[TCP::remote_port]/ :443/" [HTTP::header value Location]]]
}
}
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