(Using CentOS 6.4 Final & Squid 3.1.10)
Code:
acl blockfiles urlpath_regex “/etc/squid/blockfiles.acl”
http_access deny blockfiles
WORKS - gives a default squid error in the browser
Using deny_info with a standard ERR_ file in /usr/share/squid/error/en-uk/
WORKS - deny_info ERR_ACCESS_DENIED blockfiles - gives squid access denied in browser
Overwriting the content of ERR_ACCESS_DENIED with custom html
WORKS - deny_info ERR_ACCESS_DENIED blockfiles - gives custom error page in browser
But using a custom message
file
FAILS i.e. deny_info ERR_BLOCKED_FILES blockfiles - Squid fails to start
The file rights (-rw-r—r--) and file ownership (root root) are the same, is the problem using a non standard file name ? (have tried several).
Help anyone ?