Here is my new ACL list :- cl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY acl magic_words2 urlpath_regex -i \.exe$ \.mp3$ no_cache deny magic_words2
But somehow, when i check the access.log files using the command stated in squid's FAQ,http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.2, the .exe files and .mp3 are still cached.. Any idea?? --- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On Wed, 24 Mar 2004, Diamond King wrote: > > > *snip* > > acl QUERY urlpath_regex cgi-bin \? > > acl magic_words2 url_regex -i .exe .mp3 > > no_cache deny QUERY magic_words2 > > What you want is > > acl QUERY urlpath_regex cgi-bin \? > no_cache deny QUERY > acl magic_words2 url_regex -i \.exe$ \.mp3$ > no_cache deny magic_words2 > > > What your configuration said was that no_cache > applies to requests having > (cgi-bin OR ?) AND ( [anychar]exe OR [anychar]mp3) > anywhere in the URL. > > http://www.example.com/cgi-bin/test.exe > [match on cgi-bin and .exe] > > http://www.example.com/files/something.mp3 > [no match as there is no cgi-bin or ?] > > http://www.example.com/cgi-bin/test.cgi?field=something > [no match as there is no exe or mp3] > > http://www.example.com/cgi-bin/executor.cgi [match > on cgi-bin AND > /exe] > > > Regards > Henrik > __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com
