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

Cisco Content Switch HTTP rewrite rules

Hi,

I wonder if someone could help me with http rewrite/redirects on Cisco content switch 11501. I want to achieve following for say company xyz:

1. Someone typing in the browser xyz.com should be redirected to http://www.xyz.com

2. Anyone typing in www.xyz.com/login* (where * is wildcard) should be redirected to https://www.xyz.com/login

My knowledge of CCS is limited so would greatly appreciate any help.

Comments
New Member

Been a while since I configured this...

You need to create a L5 content rule with a statement like this:

     url "//xyz.com/"

     add service XYZ

Next you need a service with a redirect string:

service XYZ

     redirect-string "www.xyz.com"

     keepalive type none

Sort of the same goes for question number 2 except you use a wildcard within the URL like:

url = "www.xyz.com/login*"

1432
Views
0
Helpful
1
Comments