troubleshooting Question

deny_info in squid

Avatar of rajasekarramasamy
rajasekarramasamyFlag for India asked on
LinuxLinux NetworkingLinux Distributions
4 Comments1 Solution4138 ViewsLast Modified:
I want to display my own customized ERROR info page in squid. This is my configuration as mention below.

acl intranetsite src 192.1681.17
acl Blockbykeywords url_regex -i "/etc/blockbywords"
http_access allow intranetsite
deny_info ERROR_BLOCKBY_WORD Blockbykeywords
http_access deny Blockbykeywords !intranetsite


I have placed my custom error info page in squid error directory. My custom error page also displaying when any blocked word match. The problem is my custom error info page is not displaying after i excluded intranetsite in Blockkeywords deny statement. Instead of my custom error page it displaying default ERR_ACCESS_DENIED page.

Any solution?.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros