Forum Discussion
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
- Matt_Dierick
Employee
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
- Wasim_Hassan_13
Nimbostratus
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.
- Matt_Dierick
Employee
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.
- Wasim_Hassan_13
Nimbostratus
thanks for the reply, i will try this and will update you.
- Wasim_Hassan_13
Nimbostratus
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.
- Techgeeeg
Nimbostratus
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" } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com