ACE - Redirect

Unanswered Question
Oct 28th, 2008

Hi !

I am trying to do the following:

A customer dials into our network. The first HTTP Request get`s redirected to some Content-Page.

This could be annoying for some customers that`s why we want to implement a button on that page to DISABLE this Redirect Feature for that customer.

I am sure the redirect will work - but I am wondering if it`s possible to store some data on the customers web-browser - to make sure the feature remains DISABLED whenever he dials to the network again - and doesn`t get redirected anymore .

Is there a chance to match on the ACE against some sort of f.e. cookie - to make sure the client is not redirected anymore if this cookie is present ?

If not - then the client gets redirect.

I would really appreciate any help / hints.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Tue, 10/28/2008 - 15:39

In the following example if the http request comes for VIP: then the header is checked for cookie name "testcookie" and if the cookie value is "Donot-Redirect" then request is served by serverfarm "APP1-sf" and if this value is not present then request is redirected to .

parameter-map type http APP1-pmap


rserver redirect SERVER-redirect

webhost-redirection 302


rserver host App1-server1

ip address


rserver host App1-server2

ip address


serverfarm redirect SFARM-redirect

rserver SERVER-redirect


serverfarm App1-SF

predictor leastconns

probe TCP81

rserver App1-server1


rserver App1-server2


class-map match-all App1-VIP

2 match virtual-address tcp eq 80

class-map type http loadbalance match-any APP1-CHECK

match http cookie testcookie cookie-value Donot-Redirect

policy-map type loadbalance first-match APP1-policy

class APP1-CHECK

serverfarm App1-SF

class class-default

serverfarm SFARM-redirect

policy-map multi-match VIPS

class App1-VIP

loadbalance vip inservice

loadbalance policy APP1-policy

loadbalance vip icmp-reply active

appl-parameter http advanced-options APP1-pmap


Syed Iftekhar Ahmed


This Discussion