Redirection Question

Unanswered Question
Jun 20th, 2007
User Badges:

Hi,


I'm currently in the process of configuring a CSS to terminate some web traffic to our site. One of the things I'm looking to implement is a way to redirect traffic to destinedfor http to https if it attempting to hit a certain URL, eg


http://abc123.com/data/secure/ to be redirected to a https connection - https://abc123.com/data/secure/

http://abc123.com/voice/secure/ to be redirected to a https connection - https://abc123.com/voice/secure/

http://abc123.com/video/secure/ to be redirected to a https connection - https://abc123.com/video/secure/


In order to encompass all the re-directs on the CSS, would I need to create a separate content rule for each redirect, and within said content rule apply the redirect string to push the traffic to https?


One of the other options I was toying with, was the possibilty of using wildcard strings, so for each url, replacing the data/voice/video segment of the url, with a wildcard, allowing, in theory, a single re-direct and content rule to manage the re-directs for all 3 URLs - Is this viable?


Appreciate the input


Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Gilles Dufour Fri, 06/22/2007 - 04:40
User Badges:
  • Cisco Employee,

the CSS does not accept url matching like A*B or *B*. Only A*.

So, unfortunately there is no solution to catch this traffic in a single content rule.


Unless you can modify your url and move the /secure just after the domain name.

ie: abc123.com/secure/voice ... abc123/secure/data/....


Then you can have a single content rule matching on /secure/*


Gilles.


Actions

This Discussion