[squid-users] RE: Accelerated Proxy and Authentication

From: Henrik Nordstrom <[email protected]>
Date: 04 Apr 2003 19:33:02 +0200

I think you actaully want

acl admin urlpath_regex -i ^/admin/

or maybe

acl admin urlpath_regex -i ^/admin/ ^/admin$

Regards
Henrik

fre 2003-04-04 klockan 17.41 skrev Tony Carter:
> Thanks Henrik,
> This is only accessible from a test environment. Yup, I was using the wrong
> acl type.
> Here is a snippet of what I'm using now and it seems to work... Any
> comments?
>
> -Tony
>
> acl all src 0.0.0.0/0.0.0.0
> acl safeports port 80 81
> acl safemethods method GET
> acl server1 dstdomain www.server1.com
> acl admin urlpath_regex -i admin$
>
> http_access deny admin
> http_access deny !safeports
> http_access deny !safemethods
> http_access allow server1
> http_access deny all

-- 
Free Squid-users support provided by Henrik Nordstr�m <hno@squid-cache.org>
PayPal donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org&cn=Comment
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [email protected]
Received on Fri Apr 04 2003 - 10:33:09 MST

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