Close
Social profiles

When you block users from a specific page, they get error pages that are stored in the ERR_ACCESS_DENIED file. But you can display on your own error message to them apart from the default error messages.

The Error messages stored on the /usr/share/squid/error/template directory

This is a simple example: (squid.conf)

$ su -
# cd /etc/squid
# vim squid.conf
acl BLKtecexpertz dstdomain tecexpertz.com
deny_info ERR_Tecexpertz BLKtecexpertz
http_access deny BLKtecexpertz

Put an error page into the directory where the HTML files are stored (/usr/share/squid/error/template) and name it ERR_Tecexpertz. If the user tries to access www.tecexpertz.com the access is denied and your error page is shown.


Other Resources :

34 thoughts on “Custom Error Pages in Squid Proxy Server”

  1. Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is excellent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  2. Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is excellent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  3. Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is wonderful, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  4. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is wonderful, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  5. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  6. Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is excellent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  7. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is great, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  8. Wow, superb blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is great, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  9. Wow, superb blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is fantastic, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  10. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  11. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is great, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  12. Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is wonderful, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  13. Wow, awesome blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is wonderful, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  14. Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  15. Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is excellent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  16. Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  17. Pingback: Erin Sauve
  18. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is excellent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  19. Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is fantastic, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  20. Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is excellent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  21. Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is excellent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  22. Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is excellent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  23. Wow, wonderful blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  24. Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  25. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  26. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is excellent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  27. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  28. Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is great, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  29. Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is magnificent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  30. Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is magnificent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  31. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

  32. Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is magnificent, let alone the content!. Thanks For Your article about Squid Proxy Server – Custom Error Pages | TecExpertz .

Leave a Reply

Your email address will not be published. Required fields are marked *

Close