Although Squid serves up its own internal error pages, I believe as far as
squidGuard is concerned, you will need some sort of web server in place for
the access denied pages. So, I think the issue is not with Squid but rather
with squidGuard.  That said, if you were to redirect the blocked pages to
one Squid would throw an error at (preferrably via an access denied ACL),
you get get the access denied page without running Apache or another web
server.

Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2003 7:13 AM
To: [EMAIL PROTECTED]
Subject: [squid-users] Squid 2.4STABLE1 changes file:// to ftp:// in URLs
passed from redirector


I run Squid 2.4STABLE1 (as a part of the RedHat Linux 7.2 distro). Recently
I've installed SquidGuard 1.2.0 as the redirector program. Since I have no
HTTP-server on my LAN, I've created a simple "Access Denied" HTML file and
set it as the redirection target for the blacklisted URLs in the
SquidGuard's config file.

SquidGard honestly substitutes prohibited URLs with my
"file://localhost/some/path/block.html"
but in my browser I see the Squid-generated error message claiming it can't
access "ftp://localhost/some/path/block.html";.

Searching thru the changelogs since 2.4STABLE1 wasn't successful.

How can I force Squid to read a local file?
Thanks in advance...


Reply via email to