Cisco ACE URL re-write / append

Unanswered Question
Dec 5th, 2013
User Badges:

Hi everyone..

I have a situation where a customer is moving from a legacy F5 to Cisco ?? 

Anyway the web site uses only http  and the rservers only listen on 80  also.   but the customer wants to have the URL re-directed or re-written

so for example:   


The issue I have is that a re-direct would match a class map on IP then re-direct then then come back into the ACE towards the same IP..  thus it would continully hit the re-direct.

this is the version of code on the ACE we are trying to use:


  loader:    Version 12.2[121]

  system:    Version A2(3.6a) [build 3.0(0)A2(3.6a)]

  system image file: [LCP] disk0:c6ace-t1k9-mz.A2_3_6a.bin

  installed license: no feature license is installed

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Fnu Kanwaljeet Singh Thu, 12/05/2013 - 13:17
User Badges:
  • Cisco Employee,

Hi Norm,

You can match on the basis of URL using class-map type http.



Fnu Kanwaljeet Singh Thu, 12/05/2013 - 13:48
User Badges:
  • Cisco Employee,

Hi Norm,

To elaborate a bit you can redirect users coming with and anyone coming with /something should be loadbalanced. You will need to use the combination or L3/l4 class map and L7 class map matching URL.

Let me know if you have any questions or doubts.



normbeef Fri, 12/06/2013 - 01:59
User Badges:

Hi,   I think we have a misunderstanding..

Nobody comes into the load balancer with anything apart from

I need the load balancer to add    /something/    to the end of the URL and forward it onto the rserver below.  (on port 80)

so you hit the VIP class map on  IP /  port  80   

Then the load balancer adds the /something/ 

then forwards you on to the Application server.  

Fnu Kanwaljeet Singh Fri, 12/06/2013 - 08:11
User Badges:
  • Cisco Employee,

Hi Norm,

You can use action-list and try the below example. Let me know how it goes.

action-list type modify http TESTURL-ACTION
 header rewrite request Host header-value " www[.]a[.]com/test[.]html"
replace " www[.]a[.]com/test/test[.]html"

So the above example rewrites the request to



This Discussion

Related Content