Search squid archive

How to serve custom error pages with images in Squid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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="" 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?

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux