Forum Discussion
Kush10_349750
Nimbostratus
Jan 24, 2018Add port number to URL
Hello, I am new to F5 and i was hoping someone could help with a query? We have a URL for example https://testing.com/test. When a request with this URL hits the F5 can we add a port number to the URL and forward the request on, for example https://testing.com:5060/test
i am hoping someone can help.
Thank you in advance.
- Faruk_AYDIN
Altostratus
Use this iRule:
when HTTP_REQUEST { Check if requested host equals to testing.com if {[string tolower [HTTP::host]] eq "testing.com"}{ Replace the host header value with testing.com:5060 HTTP::header replace Host "testing.com:5060 } }
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