Search squid archive

Re: help a regular expressions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mån 2006-08-14 klockan 09:11 +0800 skrev bend chen:

> I think ues this :
> acl dencache urlpath_regex -i www.abc.com/*.html$ ??
> this right? but .....i feel this is wrong...

almost, only the wrong acl and incorrect regex syntax..


acl dencache url_regex -i http://www\.abc\.com/.*\.html$
cache deny dencache


or be smart and split it in two..

acl abc_com dstdomain www.abc.com
acl html content_type text/html
cace deny abc_com html

abc_com can be replaced by a bigger ACL if there is many sites you need
to do this on.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux