07-10-2013 09:53 PM
Hi we have a set up using Cisco Ironport S370 running Async OS 7.5
We would like to redirect users requests for some very specific top level domains such as www.bbc.co.uk
however we do not want to redirect urls such as www.bbc.co.uk/news
Is this possible? using our current set up? at present everything we have tried catches all traffic under the main domain so that www.bbc.co.uk/news or www.bbc.co.uk/sport are also being redirected.
Thanks in advance for your help/suggestions.
Paul
07-11-2013 12:14 AM
Hi,
I'm trying to think of an elegant way, but what you could do is, create two custom URL categories.
1st Custom Category:
www\.bbc\.co\.uk/news
www\.bbc\.co\.uk/sport
Create an identity based on this custom category and make sure the access policy allows it.
2nd Custom Category:
www\.bbc\.co\.uk
And apply a redirect on this.
I've tested this and it's working for me.
Thanks
Chris
07-11-2013 11:19 PM
Hi Chris thanks for responding much appreciated.
I am working on this project a little third hand and so can not test directly here.
For the first custom category would it be possible to use a wildcard in the expression without this wiping out the 2nd custom category?
I dont think it would be workable if we had to maintain a list of all the urls used by the sites we want to perform this on.
So the first category would be allow
www\.bbc\.co\.uk/*
and the second custom category would be redirect
www\.bbc\.co\.uk
Thanks and regards,
Paul
07-12-2013 12:15 AM
Hi Paul,
You can't end your regex with a * so this should work:
www\.bbc\.co\.uk/+[a-z]
If you have numerical after I think it would be:
www\.bbc\.co\.uk/+[a-z]|[0-9]
Thanks
Chris
Edit: Tested the first regex without the pipe and it is fine.
07-12-2013 03:46 AM
Thanks for the quick response, we will give it a try.
Kind regards
Paul
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: