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 <[EMAIL PROTECTED]>
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]

Reply via email to