02-03-2012 11:30 AM
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?
02-03-2012 08:10 PM
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:
Hope this helps
Jorge
02-07-2012 01:28 PM
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
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