[squid-users] How to redirect all squid's error pages to one?

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri May 19 12:54:22 UTC 2017


On 19.05.17 14:44, Dijxie wrote:
>1. I'd like to redirect **all** squid error pages to one, universal, 
>preferably internal squid error page. For sure I can symlink every 
>error page to one, but is there a clener way?
>I'm not sure if I get it: http://www.squid-cache.org/Doc/config/deny_info/
>
>2. And then, using %e code and presumably external js nested in this 
>page, display more detailed info for some error numbers.
>
>Can it be done? Can squid internal web server handle easy js?

no, unless using icap/ecap. 

But what's the point to direct all error messages (with language
autodection) into one, when you also want to make them different by
javascript?
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
It's now safe to throw off your computer.


More information about the squid-users mailing list