Is there a ways to simplify these urls to avoid the use of url_regex or urlpath_regex in squid.conf.
.*://.*.malaysia.net/sarawak/.* .*://.*twosteps.com.*/.*magnum4d.*/.* .*://.*.nifty.com.*/.*.jpg .*://.*lithium.sta.man.ac.uk:81.*/.* http://adserver.e-asia.com.my/RealMedia/ads/adstream_jx.cgi/www.amy.org.my/[EMAIL PROTECTED] http://202.186.154.16/appl/.* On Thursday 03 July 2003 04:34 pm, Henrik Nordstrom wrote: > On Thursday 03 July 2003 07.53, Tan Jun Min wrote: > > i found that the only acl lists causing the squid to utilize a lots > > of cpu time is the lists which contains the allow & deny lists. > > It's impossible for me to remove any url listed. This is my > > configuration in squid.conf: > > > > acl unauth_url url_regex -i "/apps/squid/etc/urldeny" > > acl auth_url url_regex -i "/apps/squid/etc/urlallow" > > > > where urldeny & urlallow is the text files contains the urls to > > deny & allow. i suspect squid will go thru' this lists whenever > > user access a url which causes the high cpu utilization. > > Any other suggestion? > > Try to make more efficient allow/deny list utilizing more efficiend > acl types than url_regex where possible. > > For example, for blocking whole domains use the dstdomain acl type. > For blocking by IP address use dst. > > Regards > Henrik
