Re: [squid-users] squidGuard Question

From: Joe Cooper <[email protected]>
Date: Wed, 27 Nov 2002 14:38:19 -0600

I get the feeling Miguel is trying to serve up a page stored on his
Squid server to browsers on his network using a file URL, without
realizing that the browser tries to find the file on the /local/
machine, not the Squid box.

Perhaps he is not, and has shared /var/squid out to his clients via some
network filesystem and that remote filesystem is mounted on /var/squid
on the client machines...

Miguel, just in case it hasn't been made clear: file: URLs cause the
browser to attempt to load an object from the local filesystem at the
path specified. file://var/squid/error.html requires that every client
have a copy of this file located at /var/squid/error.html.

Henrik Nordstrom wrote:

> Should work, but as noone is following the standard on file: URLs and
> differnt browsers do it differently you may need to experiment a
> little to get the file: URL syntax right..
>
> The standard file:// URL syntax is
>
> file:///
>
> [Note: The filr: URL standard does not define how files are to be
> fetched from remote hosts, or how to identify the local host other
> than by FQDN]
>
> Some browsers extend this to allow for blank hostnames equal to the
> local host where the browser is running
>
> file:///
>
> Some browsers extend this to allow skipping the // component for
> specifying local files
>
> file:/
>
> Some understands the following as beein the local host where the
> browser is running
>
> file://localhost/
>
> I think the file:/// URL syntax is the best bet, beeing
> understood by most, uncluding the most supporting or expecting the
> other formats, but I do not remember how MSIE does things..
>
> Regards
> Henrik
>
> On Wednesday 27 November 2002 15.52, Ripalda-Marin, Miguel-Angel
> wrote:
>
> >Hi,
> >
> >I've tried within my linux box, and it doesn't seem to work with
> >file://var/squid/error.html
> >
> >Do I have to setup something special?
> >
> >Best regards
> >
> >Miguel �ngel Ripalda Mar�n
>
>

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Wed Nov 27 2002 - 13:38:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:36 MST