Re: [squid-users] Case-sensitive expressions and customizing error messages

From: Matt Anderson <manderson@dont-contact.us>
Date: Tue, 9 Oct 2001 13:48:30 -0400

Hi,

As far as the error msgs go if you don't specify a location I believe it
tries to take it off the website the user tried to go to. If you just did
an <IMG SRC="logo.jpg"> and the user got that error from ebay.com then it
would look for the picture at http://ebay.com/logo.jpg and wouldn't find it.
There is pry a better solution but I put my pictures on my apache server and
I specify <IMG SRC="http://[apacheip]/logo.jpg"> and my pictures come up
just fine.

Let me know if this helps.

Matt Anderson
MCSE, CNE, CCNA, Network+
Network Engineer
Maly's Corporate Headquarters
(616) 956-2246
----- Original Message -----
From: <JPASTORM@esade.es>
To: <squid-users@squid-cache.org>
Sent: Tuesday, October 09, 2001 11:02 AM
Subject: [squid-users] Case-sensitive expressions and customizing error
messages

I'm setting up a squid server. Reading docs, I've found in the FAQ the
following lines:

7.5 How can I purge an object from my cache?

Squid does not allow you to purge objects unless it is configured with
access controls in squid.conf. First you must add something like
        acl PURGE method purge
        acl localhost src 127.0.0.1
        http_access allow purge localhost
        http_access deny purge

I thought that regular expressions were case-sensitive, right? I think I
should write:

        acl PURGE method purge
        acl localhost src 127.0.0.1
        http_access allow PURGE localhost
        http_access deny PURGE

Or better, comparing with the CONNECT method in squid.conf,

        acl PURGE method PURGE
        acl localhost src 127.0.0.1
        http_access allow PURGE localhost
        http_access deny PURGE

Also I'd like to customize the error pages. I've edited them and changed
the text, but I've added a logo (a gif or jpeg file) with no success. I've
put the file in the errors directory. ¿How should I do it?

Thanks in advance.
Received on Tue Oct 09 2001 - 11:48:57 MDT

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