Forum Discussion
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.
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?
- Dec 28, 2022
Thanks Leslie_Hubertus ,
Satriaji shared with me a very good Article so I read it well and I found it very helpful to solve his issue.
I mean in my reply his KB Article.