Forum Discussion

crocketv_18020's avatar
crocketv_18020
Icon for Nimbostratus rankNimbostratus
Oct 14, 2009

Re-direct HTTPS to URI extension

Hello.

 

 

I'm looking for some help on how to direct an HTTPS connection to a URI extension page of the URL. Here is a description example -

 

 

F5 VIP - XYZ.AAA.ORG port 443

 

Pool member servers: listening on port 8443

 

 

My client wants to direct the HTTPS://XYZ.AAA.ORG request to application web page XYZ.AAA.ORG/xlWebApp/ on the F5 servers using the VIP.

 

 

So the client will sent the request to the standard URL but the F5 will redirect and request the /xlWebApp/ application page from the server(s).

 

 

THANKS!

5 Replies

  • I don't believe it's possible because the URI is encrypted and in order for the LTM to make changes the URI it needs to be decrypted. This is why it is important to have the LTM terminate the SSL connection.

     

     

    CB

     

     

     

  • Thanks.

     

    Actually they may decide they would want to do this. Can you give me an example of an iRule that would do this if SSL terminates on the LTM.
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    If they just wanted to redirect all HTTP traffic to the webapp page it'd be simple. Something like:

     
     when HTTP_REQUEST {  
       if { [HTTP::host] eq "xyz.aaa.org" } { 
         HTTP::redirect "https://xyz.aaa.org/xlWebApp/" 
       } 
     } 
     

    Colin