[squid-users] Squid custom error pages and javascript/css url sources

Vieri rentorbuy at yahoo.com
Wed Aug 16 10:24:31 UTC 2017


Hi,

I've created custom error pages with something like this in the header tag:

<head>
<link rel="stylesheet" href="http://%h/common/jquery.mobile-1.4.5.min.css">
<script src="http://%h/common/jquery-1.11.3.min.js"></script>
<script src="http://%h/common/jquery.mobile-1.4.5.min.js"></script>

The page displays fine when the client requested an http site.
However, for https sites the css and js files do not load.

What alternatives do I have? Should I always redirect with deny_info instead? Is there a "catch-all" for deny_info?

Thanks,

Vieri


More information about the squid-users mailing list