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 U...
Faruk_AYDIN
Altostratus
Jan 24, 2018Use 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
}
}