Forum Discussion
How to redirect Https to Https respons ?
Dear Mohamed,
Here the config
Server Farm
===========
IP VS = 192.168.x.x port 443 (without use SSL profile at clientside profile)
Pool member = 10.45.x.xx port 443 ( its use to IP VS DMZ )
DMZ
======
IP VS = 10.45.x.x port 443 (its used to IP pool member Serverfarm) using SSL client side profile
Pool member= 10.43.x.x port 80 (server http)
When the user access https://abcd/otcs/login the homepages still https, but after login using user name and password, the homepage : http://abcd/otcs/login . They want to still https when login.
thankyou
Satriaji , Alright then.
it’s a strange behavior to me.
ِAnyway , I would Recommend to create new http virtual server , and assign a redirection iRule from http to https to force redirection of https always in path.
> when login and redirected to non secure http , you should be redirected again by the( new created virtual server + assigned Redirection iRule " http ــــ> https " use the default one )
> This below Redirection irule for the " new http virtual server "
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
Try it , I hope it works with you.
- SatriajiDec 26, 2022Cirrus
Dear Mohammed,
The VS port 80 have been used for internal application, so we cann't create IP VS port 80. (cannot using step 1 to create VS port 80 then assign the irules_sys_redirect_https) because that IP VS & port 80 have been used.
So when the client access https://abc.com --> homepage become http://abc.com , so we must add or manually add "https://" in the browser so the app can be open.
Can we use this step on article https://support.f5.com/csp/article/K14775 ?
- Dec 26, 2022
Hi Satriaji ,
Great , I think this KB should solve your issue.
you can try it and inform us if it resolved.
Goodluck.- Leslie_HubertusDec 28, 2022Ret. Employee
Hi Mohamed_Ahmed_Kansoh - I think you meant to past a KB article, but it didn't come through for some reason. Could you please try linking it again?
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