03-02-2016 02:09 PM - edited 03-08-2019 05:38 PM
In Bluecoat, you can control access by adding an site URL like this 'creditrepairfirm.com/slides/show/' to a custom 'URL Category Object' and have BC either block or allow access to creditrepairfirm.com and it path compont '/slides/show/'
I tryed this on the WSA and it error on the '/slides/show/' so, how can I do this on a WSA?
I don't see how a regular expression works here but, I have to qualify this and say I am not an advance regular expression guy.
Any nudge in the right direction would be appreciated.
Thank you in advance.
Tom
03-04-2016 02:36 PM
Hi Tom,
I haven't tested this but the manual states:
"The Web Security appliance uses a regular expression syntax that differs slightly from the regular expression syntax used by other Velocity pattern-matching engine implementations. Further, the appliance does not support using a backward slash to escape a forward slash. If you need to use a forward slash in a regular expression, simply type the forward slash without a backward slash."
So the "regex" creditrepairfirm.com/slides/show/ should match
http(s)://anything.creditrepairfirm.com/slides/show/anything
03-08-2016 04:51 PM
would recommend to add "\." in front of it so looks like below:
\.creditrepairfirm.com/slides/show/
Therefore will apply to any subdomain of creditrepairfirm.com such as anything.creditrepairfirm.com/slides/show/ (if needed).
Also note, if the destination site is HTTPS and you have HTTPS proxy enabled, you will need to 'decrypt' the traffic first for the appliance to know the links from that domain, else appliance can only see the domain of the destination only (transparent mode, can only see the IP address only instead of domain)
If you do not have HTTPS proxy enable, WSA will only perform CONNECT tunnel to port 443 and will not be able to see the links from that domain such as /slides/show
03-10-2016 12:42 PM
Thank you Handy Putra. If I do put \. does that mean the site has to be tom.creditrepairfirm.com/slide/show/ or will creditrepairfirm.com/slide/show/ work also?
03-10-2016 02:21 PM
Hi,
Both "tom.creditrepairfirm.com/slide/show/ " and "creditrepairfirm.com/slide/show/ " will also works if you add \. in front of it.
12-08-2017 04:04 PM
Hi I am trying to understand the regular expression and also just the domain name expression. So in regard to the above correct me if I am wrong but the former expression will match on anything.creditrepairfirm.com but also match on anythingcreditrepairfirm.com. The latter expression will only match if it is actually a subdomain of creditrepairfirm.com.
As for the the second question, focusing just on the sites list what is the significant difference of putting anything.com versus putting .anything.com?
03-10-2016 12:45 PM
Thank you Christoph Moormann. I was expecting something more complacated here. I never just tried creditrepairfirm.com/slides/show/ in the advanced I was trying different combo of regular expression statements instead of the 'easy' approach. .
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