Forum Discussion
Http redirect rewrite issue
I have enabled the redirect rewrite "ALL" in the http profile so it will redirect http:// to https:// server responses, this is working just fine for the Main page,after that if we are trying to click any tab or option again it is going to Http? Kindly help to solve this issue
3 Replies
i only see the Redirect Rewrite option in the http profile, is that the one you use?
that will only affect redirects. if you need to redirect all http traffic then your should use a redirect irule on the http virtual server, the default available one is _sys_https_redirect.
do remember that if your backend website uses links including the http:// then they will first hit the http and be redirected to https, this won't always work.
- midhun_108442
Nimbostratus
Hi,
Yes we are using Redirect Rewrite option in the http profile , This is our setup, Client --> BigIP (443) BigIP --> Webserver (80) We use the http redirect rewrite profile as "All". With this We are able to get our webserver Loging page and able to login successfull , But after that if we click any tab or option on the webpage it again redirect to http,
I had applied default irule "_sys_https_redirect" but here i am not getting the login page itself and verfied the logs no packet has been sent to the pool member.
appreciate your help please.
Regards, Midhun P.K
if you have a virtual server listening on port 443 and the pool member is on 80 then you don't need anything special in general. until certain links or redirects are served as http:// because yes then the client will try to go to a virtual server on port 80. does a virtual server on the same IP but on port 80 exist?
if it doesn't then you need one with that irule to redirect back to the 443 one. you could also look into rewriting http to https on with a stream profile.
your not the first person to run into this, search around this place and see what others have done.
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