cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1773
Views
0
Helpful
6
Replies

ACE URL REWRITE QUESTION

a.shaik
Level 1
Level 1

I wants to know if what I want to do is possible with ACE

Clients request for http://www.foo.com

This requets arrives at ACE, and ACE should replace http://www.foo.com by http://www.faa.com and send it to correct server. In this case ACE must do dns local resolution to find out correct server

Please note that client always request for http://www.foo.com, he must not see http://www.faa.com (please note that faa.com is not resolved by client DNS)

Tell me if it's possible or not to do it with ACE.

Thanks for you help

6 Replies 6

With current release the only option available is to send a 302 redirect to client using redirect real server and redirect serverfarmon ACE.

If traffic matches to the configured class map, ACE will send the client with a 302 request (carrying the new url).

Syed

Gilles Dufour
Cisco Employee
Cisco Employee

You can't have the loadbalancer do the dns request.

What you do is manually translate the name to the ip and configure this ip as a real server.

Then configure this real server in a serverfarm and use this serverfarm with the class-map matching the client request.

The request will be forwarded to the right server transparently.

You may need to configure client nat so that the server response goes back to the loadbalancer (as this is the device that knows about the translation).

However, the ACE module can't modify the url inside the http request.

Most of the webservers do not care about the Host: header so it normally does not matter if you translate foo into faa.

If you use the url redirect option, the client will see in his browser the new url.

Gilles.

Hi all.

I will hijack this thread to talk about URL rewrite here. I absolutely need to rewrite hardcoded links within the payload of http responses (DNS migration of application, http to https migration - with hardcoded links Redirection doesn't work with IE due to an horrible popup stating that the secure page contains unsecure content)

I know it's just about looking for a pattern and replace it with another pattern and changing the Content-Length field of the HTTP header...

I could take a look to an old presentation (provided by a TME) stating that ACE 4710 supports the "URL Mapping" feature (which does what I want) but I can't find anywhere in the doc about how to configure this ! The only reference I could find on "url map" is in the ANM documentation.

Hello Surya,

the ACE can only rewrite URLs in the http header (like the ones used in redirects) but it cannot rewrite the links in the body of the page. If you saw the the feature hypothesized in some old document might be because the acceleration features in ACE came from an integration of the functionalities of the AVS product, however not all features were ported due to performance considerations and the urlMap was one of those left out.

Hope it helps,
Francesco

thanks.

How can I send a feature request for this ? Body URL rewrite becomes a standard (for competitors) and is critical for some customers migrating / moving some applications. And as I said it's mandatory for HTTP -> HTTPS migration with hardcoded links.

Surya

Hi Surya,

I believe the best path would be for you to get in touch with your Cisco Account Team to discuss with them them about the possibilities and steps to submit the Enhancement Request.

As a personal opinion I believe that many customers would find the feature valuable and Cisco is quite aware of it, yet the implementation might have to confront with the performance impact/scalability on current hardware.

Hope it helps,

Francesco

Getting Started

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: