12-05-2013 12:40 PM
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:
to
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:
ftware
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
12-05-2013 01:17 PM
Hi Norm,
You can match on the basis of URL using class-map type http.
Regards,
Kanwal
12-05-2013 01:48 PM
Hi Norm,
To elaborate a bit you can redirect users coming with website.com 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.
Regards,
Kanwal
12-06-2013 01:59 AM
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.
12-06-2013 08:11 AM
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 www.a.com/test.html to www.a.com/test/test.html
Regards,
Kanwal
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide