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

From: <JPASTORM@dont-contact.us>
Date: Tue, 9 Oct 2001 17:02:14 +0200

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 - 09:02:34 MDT

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