> On 17.10.06 11:35, Jens Strohschnitter wrote: > > > > is it possbile to configure squid to block any .exe files > > > > for download but allow the download from specific url. > > > > I have blocked all downloads from .exe-files via acl: > > > > > > > > acl exe-users src "/etc/allowed_downloads_exe" > > > > acl exe-files urlpath_regex -i \.exe$ > > > thanx for the tips. I have added the following lines to squid.conf: > > > > [...] > > acl EXEURLS url_regex "/etc/allowed_exeurls" > > [...] > > http_access allow GET EXEURLS > > [...] > > > > /etc/allowed_exeurls contentes for example: > > www.example.com > > from where any download of exe-files are allowed. > > > > Now it works as I wanted ;-) > > why url_regex, if you just compare host names? use dstdom or dstdom_regex > martching regular expressions is very CPU intensive, so it should be avoided > as much as possible. > Hi thx! I have changed the configuration, works much better with dstdom_regex ! -- Regards, Jens Strohschnitter ------------------------------------- *!!!LINUX LINUX LINUX LINUX LINUX!!!* * http://www.jens-strohschnitter.de * ------------------------------------- Set the controls for the heart of the sun -------------------------------------