Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

url redirect question

Hi All,

I have 2 web servers that needs load balancing but the URL varies for the customers. One customer will use csm.net.com and another customer will use bsm.net.com. I am doing the SSL termination on the CSS.

The web server is setup with a page sm.net.com. So, regardless of what customers enter, I need to redirect to sm.net.com bit they do not want this particular url to show up on the client and client should still see what they entered.

Is this possible on the CSS? Will it be easier to setup the redirect on the web server?

thanks,

Meena

2 REPLIES
New Member
Cisco Employee

Re: url redirect question

you can configure the CSS to generate the redirect.

Check this link for https redirect:

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml#t4

The config should look like this

service redirect

ip address 2.2.2.2

keepalive type none

type redirect

no prepend-http

domain https://sm.net.com

active

owner MyCompany

content csm

vip x.x.x.x

proto tcp

port 80

url "//csm.net.com/*"

add service redirect

active

content bsm

vip x.x.x.x

proto tcp

port 80

url "//bsm.net.com/*"

add service redirect

active

content sm

vip x.x.x.x

proto tcp

port 80

url "//sm.net.com/*"

add service www1

....

active

Didn't tested it but it should work.

Gilles.

115
Views
0
Helpful
2
Replies
CreatePlease login to create content