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
Received on Thu Mar 25 2004 - 01:40:06 MST
This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST