URL redirection

Unanswered Question
Mar 31st, 2010
User Badges:

We are running Cisco ACE A3(2.0) on our intranet and we have specific requirement for URL redirect which I need help.

The http server is responding to an intranet url e.g http://test.cisco.com, this server responds to this URL.

The application team wants the http host rewrite by the ACE so that the server responds to another URL http://test1.cisco.com.


The application don't want do the configuration on the http server.


I have tried http host rewrite but still not working.


Need your help.


Regards

Soban

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Sean Merrow Sun, 04/04/2010 - 08:09
User Badges:
  • Silver, 250 points or more

Hello Soban,


I can think of two ways for you to accomplish this task.


The first would be use rewrite the HTTP Host header from test1.cisco.com to test.cisco.com.  Please see the Rewrite section of the configuration guide's chapter on Configuring HTTP Header Insertion, Deletion, and Rewrite for details on how to do this.  I understand that you mentioned you already tried this, but this sounds like the most appropriate solution for this.  Therefore, you should verify your config and perhaps get a network capture to see if the rewrite is not working, or if the rewrite is working but the server still isn't accepting it.  If you do go with this option, then you may also need to make use of the header modify per-request feature to make sure it is done on every request, and not just the first.


The second option you have is to configure the ACE to redirect requests to the host test1.cisco.com to the host test.cisco.com.  This would be largely transparent to the clients connecting to the VIP, although the address in their address bar of the browser would ultimately show the hostname that they were redirected to....test.cisco.com.


Hope this helps,

Sean

Actions

This Discussion