[squid-users] How to serve custom error pages with images in Squid?
roee klinger
roeeklinger60 at gmail.com
Fri Feb 12 10:44:50 UTC 2021
Hey,
I am trying to serve custom error pages in Squid 4.10, this is my
squid.comf:
error_directory /etc/squid/pages/
icon_directory /etc/squid/pages/images/
The custom error page loads, but the images are missing. In my HTML file I
simply put:
<img src="image.png" alt="..." class="img-fluid">
but if I inspect the image in the browser, I can see it is adding the
website URL before the image path, like so:
http://ipinfo.io/image.png
I tried to revert back the default error pages, however, I noticed that
apparently even there, the images never loaded, it had the exact same issue.
Does anyone know about this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210212/3f4cffe3/attachment.htm>
More information about the squid-users
mailing list