F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Wasim_Hassan_13's avatar
Wasim_Hassan_13
Icon for Nimbostratus rankNimbostratus
Oct 19, 2014

SSL Offload, Port redirection

Hi,

 

I wanted to do the SSL offload one of the oracle application 10g. I want to hide the port in the URl as well as automatically redirection of /html.index

 

Currently user are opening the below link

 

http://192.168.205.92:81/index.html and once front page is comming with login they are accessing the below page

 

http://cards/abccards/login.jsp

 

What I want to give the user below link

 

https://abc.com

 

and after page when they are clicking on the login tab they should redirect to

 

https://cards/abccards/login.jsp

 

I have used the iapp for 10g but only the main page is coming but when they are clicking the login tab they are getting access deny.

 

6 Replies

  • You : - set a VS on port 443 and ip address hosted by abc.com. - set a client SSL profile with the certificate and key - assign the pool with the member 192.168.205.92 and port 81 - you enable SNAT if needed

     

  • I have crated two VIP one for HTTPS and one redirect for Port 80. I used the iAPP module.

     

    is there any need for irule to hide the port 81 in the URL.

     

  • You can't hide port. The browser need it. The only way is the open a client connection on port 443 and open a server connection on port 81.

     

    Else, you have to keep the port and the browser will show it.

     

  • Hi,

     

    I have tried that but it is not working. Main page is comming only https but rest of all the pages are comming in HTTP. AP team is not ready to modify at the application level they want to do all the things through F5.

     

    when user type

     

    https://cardselect

     

    it should redirect to

     

    https://cardselect:81/index.html

     

    once click on login tab it should redirect to

     

    https://scard/enoccards/login.jsp

     

    then after username/password it should redirect to

     

    https://cardsselect/enoccards/FMWelcome.jsp

     

    But unable to do this with the iAPP

     

    I have created VIP with HTTPS and redirect on port 80 but it is not working.

     

  • Hi Wasim,

    Looking at your requirement I don't see any reason for you to use iAPP you simply need to create an Irule which will redirect the user to "https://cardsselect/enoccards/FMWelcome.jsp" when the request comes to VS with this URL "https://scard/enoccards/login.jsp".

    try the below, remember one thing the irule is an event driven programming so your flow can be achieved but you have to map certain even "url" to where you want to redirect it.

     when HTTP_REQUEST {
      if { [HTTP::uri] eq "/" } {
        HTTP::redirect "https://[HTTP::host]/xyz-uri"
      }
    }
    }