cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1021
Views
0
Helpful
2
Replies

Cisco ACE and IIS Virtual Directories

mrthestuff
Level 1
Level 1

Hello All,

I have the Load Balancing between to servers working correctly except for on thing. If I enter www.domainname.com\apps into the browser it will returns a 302 page, but if I enter www.domainname.com\apps\ the page will Pull up. Is there a way for the ACE to add the \ after the Virtual Directory?

2 Replies 2

Jorge Bejarano
Level 4
Level 4

Hello Brian,

I guess you have something configured like this:

host1/Admin(config)# class-map type http loadbalance L7SLBCLASS

host1/Admin(config-cmap-http-lb)# 10 match http url /apps

But you should have something like this:

host1/Admin(config)# class-map type http loadbalance L7SLBCLASS

host1/Admin(config-cmap-http-lb)# 10 match http url /apps.*

Here you have a doc with additional info:

http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/configuration/slb/guide/classlb.html#wp1021430

Hope this helps

Jorge

Here is an example of the configuration:

rserver host NET01

  ip address 10.0.20.24

  inservice

rserver host NET02

  ip address 10.0.20.25

  inservice

serverfarm host NET-Farm

  predictor leastconns

  rserver NET01 80

  rserver NET02 80

    inservice

parameter-map type http HTTP_PARAMETER_MAP

  persistence-rebalance

sticky ip-netmask 255.255.255.255 address source NET-IP

  replicate sticky

  serverfarm NET-Farm backup Maintenance

class-map match-all NET

  2 match virtual-address 10.0.20.21 tcp eq https

policy-map type loadbalance first-match NET

  class class-default

    sticky-serverfarm NET-IP

    insert-http x-forward header-value "%is"

policy-map multi-match int71

class NET

    loadbalance vip inservice

    loadbalance policy NET

    loadbalance vip icmp-reply active

    nat dynamic 6 vlan 71

    appl-parameter http advanced-options HTTP_PARAMETER_MAP

interface vlan 71

no icmp-guard

  nat-pool 6 10.0.20.21 10.0.20.21 netmask 255.255.255.255 pat

Review Cisco Networking for a $25 gift card