Forum Discussion
Hide port in the URL
- 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.
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]]]
}
}
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
