03-17-2014 05:25 AM
Hi guys.
Recenty I see the following config.
rserver redirect REDIRECT-TO-HTTPS
webhost-redirection https://%h%p 301
inservice
serverfarm redirect REDIRECT-SERVERFARM
rserver REDIRECT-TO-HTTPS
inservice
I suspect this is a generic config to rewrite a redirection sent from rsever to client when it sends a http redirection and the client need to do a https conection.
My question is: this configuration will rewrite all redirect? What happens if the redirect sent from real server need to reach the client as http (not translated)
Thanks in advance.
03-17-2014 05:32 AM
In other words:
How ACE knows wich redirects should be traslated from http to https?
Hope it will be more clear.
03-17-2014 07:38 AM
Hi David,
The above configuration is for ACE to redirect and not "Rserver". So if a user comes on http://xyz.com and you want ACE to redirect it to https"//xyz.com, you use above configuration. Now there will be a class-map condition as well as policy maps and hence ACE will redirect only those requests which will match the condition. Also, redirect and rewrite are two different functions. If you want the ACE to intercept server response and rewrite it, then you should have a look at "URL Rewrite as well as SSL rewrite" features. Again you will have proper configurations place for ACE to decide what to rewrite and what not.
Let me know if you have any questions.
Regards,
Kanwal
03-17-2014 08:12 AM
Hi Kanwal.
Thanks for the information.
The objetive is do nothing by default and activate only the redirect in the selected Serverfarms/VIPS.
Culd you provide an example of doing it?
Thank you!
03-17-2014 09:59 AM
03-17-2014 11:12 AM
Hi David,
Sound's good! So ACE will do according to whatever policy action is configured and whatever condition the incoming traffic matches.
Again please let me know if you have any questions:)
Regards,
Kanwal
03-17-2014 07:40 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: