LPI
202-400 · Question #188
In the file /var/squid/url_blacklist is a list of URLs that users should not be allowed to access. What is the correct entry in Squid's configuration file to create an acl named blacklist based on…
The correct answer is D. acl blacklist urlpath_regex "/var/squid/url_blacklist". See the full explanation below for the reasoning.
Question
In the file /var/squid/url_blacklist is a list of URLs that users should not be allowed to access. What is the correct entry in Squid's configuration file to create an acl named blacklist based on this file?
Options
- Aacl blacklist urlpath_regex /var/squid/url_blacklist
- Bacl blacklist file /var/squid/url_blacklist
- Cacl blacklist "/var/squid/url_blacklist"
- Dacl blacklist urlpath_regex "/var/squid/url_blacklist"
- Eacl urlpath_regex blacklist /var/squid/url_blacklist
How the community answered
(22 responses)- B5% (1)
- C9% (2)
- D82% (18)
- E5% (1)
Community Discussion
No community discussion yet for this question.