Forum Discussion
dirken
May 02, 2012Nimbostratus
remove tcp port from Location header in redirect
Hi folks, newbie and tasked to remove the tcp port from a redirect's Location header. Without a test system I cannot check it and would appreciate any feedback before going live. Would this iRule work...
dirken
May 02, 2012Nimbostratus
Two problems:
1. if the Location contains an absolute path like "https://somehost:52600", then this iRule would redirect me to "https" with nothing behind it, correct?
2. if the Location contains an URI behind the host like "somehost:52600/somepath/somefile", then the iRule would redirect me to "somehost" without any path, correct?
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