Forum Discussion

draco's avatar
draco
Icon for Nimbostratus rankNimbostratus
Oct 24, 2018

Redirect

Hi

 

We have servers which has services running on port 8443 and we have added those servers as nodes on port 8443. The vip is listening on 443. So the issue is when the request is coming from client , the server sends a response with location header pointing to , so it was looking for virtual server on 8443 . now i have used the irule inorder to rewrite location to just , but the page is still not coming. The request from f5 to server will anyways go on 8443 as i have added nodes on 8443 , what could be the reason that the page might not be coming?should the url request from F5 to server be appended with 8443 , technically it should work with the pool on 8443 right ?

 

Kindly let me know your insights of what could be happening in the backend. Will be doing a packet capture as well.

 

1 Reply

  • It depends on how the server is communicating the internal port to users. If all references to port 8443 are coming in 30x redirect responses, you can simply enable the Redirect Rewrite option in the HTTP profile assigned to the VIP. This will automatically catch and replace any redirects that include the incorrect port.

     

    If you're seeing the internal port in the actual HTML document, as part of URL references to document objects (ex. images, scripts, css), then you'd be best to apply a STREAM profile iRule to replace these.