Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

ACE WEBHOST-REDIRECT logic

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.

6 REPLIES

In other words: How ACE knows

In other words:

 

How ACE knows wich redirects should be traslated from http to https?

 

Hope it will be more clear.

Cisco Employee

Hi David,

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

Hi Kanwal. Thanks for the

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!

I think I got it.

I think I got it.

Cisco Employee

Hi David,Sound's good! So ACE

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

Cisco Employee

Hi David,Attaching a document

Hi David,

Attaching a document for your reference. This is an example which shall give you a fair idea about configuration but for functionality i would suggest looking into the configuration guide.

 

Regards,

Kanwal

182
Views
0
Helpful
6
Replies