cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1556
Views
0
Helpful
1
Comments
Muhammad Khan
Level 1
Level 1

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
rschulti
Level 1
Level 1

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*"

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: