05-06-2010 05:29 AM
content PR-443
add service ssl
vip address 10.10.1.1
application ssl
protocol tcp
port 443
url "/*"
active
content PR-80-ddo-for
vip address 10.10.1.1
add service efg
add service hij
protocol tcp
port 80
url "/FoR*"
advanced-balance arrowpoint-cookie
arrowpoint-cookie browser-expire
arrowpoint-cookie name for80
active
content PR-80-ddo-pcm
add service xyz
add service abc
arrowpoint-cookie browser-expire
protocol tcp
port 80
url "/PCM*"
vip address 10.10.1.1
advanced-balance arrowpoint-cookie
arrowpoint-cookie name pcm80
active
content PR-8443-any
add service baker
add service bond
vip address 10.10.1.1
advanced-balance arrowpoint-cookie
arrowpoint-cookie browser-expire
protocol tcp
port 8443
url "/*"
active
content PR-443-FoR
add service efg
add service hij
vip address 10.10.1.1
arrowpoint-cookie browser-expire
advanced-balance arrowpoint-cookie
protocol tcp
port 8443
url "/FoR*"
arrowpoint-cookie name FoR443
active
content PR-8443-PCM
add service xyz
vip address 10.10.1.1
add service abc
arrowpoint-cookie browser-expire
advanced-balance arrowpoint-cookie
arrowpoint-cookie name PCM443
protocol tcp
port 8443
url "/PCM*"
active
content forhttps
add service efg
add service hij
advanced-balance arrowpoint-cookie
arrowpoint-cookie browser-expire
url "/for"
protocol tcp
port 8443
arrowpoint-cookie name for443
vip address 10.10.1.1
content forredirect
url "/for"
protocol tcp
port 80
vip address 10.10.1.1
advanced-balance arrowpoint-cookie
arrowpoint-cookie browser-expire
arrowpoint-cookie name smallfor
add service FoR-redirect
service F0R-redirect
ip address 1.2.1.3
keepalive type none
type redirect
no prepend-http
redirect-string "https://www.tptp.com/FoR/login/index"
we have application which is case sensitive and work only when the URL has FoR
e.g: http://www.tptp.com/FoR
now its getting difficult for users and they need it not to be case sensitive
on load balancer above is configured
the content rule forredirect the redirect works , user can login
but within the page there is a link which takes the user to https://www.tptp.com/PCM
there is a content rule as you can see when /PCM is seen to forward the requests to services xyz and abc. these are webservers
but once the user logs in with /for and clicks on the link which has /PCM browser just waits and eventually no response
to add further when the user intially type
www.tptp.com/PCM he get redirected by the server to www.tptp.com/FoR which is coded in the appliction, then within the page when he clicks on https://www.tptp.com/PCM it doesnt work
when the user logs in typing www.tptp.com/for and get redirected this time by the loadbalancer to www.tptp.com/FoR and clicks on the link within the page which has https://www.tptp.com/PCM it doesnt work
once i suspend the content forredirect and login using both www.tptp.com/PCM and www.tptp.com/FoR
the link within the page for https://www.tptp.com/PCM works
how do i get it working? the idea is that /for should be converted to /FoR by the loadbalancer and there shdnt be any loop as seen above
pls suggest
thnx
05-06-2010 09:14 AM
l
05-06-2010 09:23 AM
css has ssl module in
https is working as expected
when we type
it get redirected to https://www.tptp.com/FoR by the server behind the load balancer
ssl module is on load balancer
wht we want is when we type
www.tptp.com/for then this load balancer should redirect it to www.tptp.com/FoR
which it does with the new redirect service i created
what happens when the user logs in after the redirect , there is one link within the page which user clicks which
https://www.tptp.com/PCM this doesnt work and browser just waits
but
if you look at the config
there is a content rule to match /PCM and send it to serverfarm within the rule. this doesnt work
but once i remove the redirect i created for www.tptp.com/for
and type www.tptp.com/FoR and login, the same link https://www.tptp.com/PCM works
load does the ssl and it works fine
why is it not working when i enable the redirect on LB for www.tptp.com/for?
05-06-2010 11:42 AM
is it possible on the CSS to change the content of the URL before it sends to the webserverfarm to the application
is this case change if sometypes www.bpbh.com/for to www.bpbh.com/FoR before it sends it to the application server
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