Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Kush10_349750's avatar
Kush10_349750
Icon for Nimbostratus rankNimbostratus
Jan 24, 2018

Add 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.

 

1 Reply

  • 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
       }
    }