cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
813
Views
0
Helpful
1
Replies

ACE: http profile that adds a request header to all HTTP requests

gavin han
Level 1
Level 1

Following is what has been configured so far:

probe http url.test.com:1111

  port 1111

  interval 34

  faildetect 17

  passdetect interval 60

  expect status 200 200

  header Host header-value "ssl"

  open 1

serverfarm host url.test.com:443

  description url.test.com - Port 1111 ***

  failaction purge

  probe url.test.com:1111

  rserver server1.test.com 1111

    inservice

  rserver server2.test.com 1111

    inservice

class-map match-any url.test.com:443

  2 match virtual-address 192.168.1.1 tcp eq https

policy-map type loadbalance first-match url.test.com:443

  class class-default

    sticky-serverfarm url.test.com:443

policy-map multi-match LOAD_BALANCE

  class url.test.com:443

    loadbalance vip inservice

    loadbalance policy url.test.com:443

    loadbalance vip icmp-reply active

    ssl-proxy server SSL_Offload

above is my config with ssl offloading. I've to configure following..

~~~~~~~~~~~~

When setting up your load balancer, you must define an HTTP  profile that adds a request header to all HTTP requests. You must assign  this HTTP profile to e! ach of the virtual server names in this section  which receive a request which is of th! e type HTTPS.

The HTTP profile inserts the following request header:

Header Name: IS_SSL

Header Value: ssl

~~~~~~~~~~~~

how do I accomplish it...

1 Reply 1

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Hi Gavin,

The steps required for this are documented at the link below

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA2_3_0/configuration/slb/guide/classlb.html#wp1131842

I hope this helps

Daniel