10-06-2010 06:17 AM - edited 03-11-2019 11:51 AM
Hello,
I have on my Cisco asa 5510 the URL filtering running with regex. The problem that i have now is that i want to allow part of a domain.
For example i want to block cnn.com but i want to allow people to access cnn.com/AFRICA/
I was looking on the ASA URL filtering document but it has an example for sub domains, not for sub folders.
Bellow is my config
regex blockex8 "rojadirecta\.org"
regex blockex9 "megaupload\.org"
regex blockex1 "/facebook/"
regex blockex2 "facebook\.com"
regex blockex3 "taringa\.net"
regex blockex4 "twitter\.com"
regex blockex5 "rapidshare\.com"
regex blockex6 "ustream\.com"
regex blockex7 "youtube\.com"
10-06-2010 08:21 AM
Hi,
Please look into https://supportforums.cisco.com/docs/DOC-1268
It has examples that will help you with what you want to do.
PK
10-06-2010 08:31 AM
I made my config thanks to that document but there is no example about what im traying to do.
There is for subdomains in the last part of the document:
regex block-fb ".*facebook\.com"
regex allow-fb "developer[s]*\.facebook\.com"
but there isnt for subfolder.
I was traying differents kinds like "*\.cnn\.com\AFRICA\" or "*\.cnn.com\AFRICA\" or "*\.cnn.com/AFRICA/" but nothing.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide