fre 2003-06-06 klockan 14.46 skrev Paras pradhan: > hi all, > i did the followwnig line to not to be cached the domain named abc.com.np > > acl site urlpath_regex .abc.com.np http://i.abc.com.np > no_cache deny site
urlpath_regex looks into the URL-path component only (the part after the host name). If given "http://www.example.com/some/file.html" then urlpath_regex only looks into "/some/file.html" I think you are looking for the dstdomain acl type. This looks into the hostname only ("www.example.com") and properly understands about domains (.example.com is whole example.com domain) . > squidclient -m purge http://abc.com.np/ > > it gives error like: > > ---- > <P> > Access control configuration prevents your request from > being allowed at this time. Please contact your service provider if To allow PURGE you must configure a http_access rule which allows PURGE. It is denied by default unless told otherwise. -- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. 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]
