Search squid archive

Re: [squid-users] How can I ignore 'form inputs' on a urlpath_regex ?

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

 



On Wed, 4 May 2005 shonorio@xxxxxxxxxxxxxxxxx wrote:

I'd know if is possible to create an  'acl urlpath_regex ' that will ignore
parameters sent by GET method on an url. I'm thinking on something like
where squid will ignore 'www.cia.com/enroll.asp?sex=male', but will deny
www.sex.com.

acl sex urlpath_regex -i ^[^?]*[[:<:]]sex[[:>:]]

the above matches the word sex anywhere in the url_path but not after a ?

But note that urlpath_regex will never block http://www.sex.com/ as urlpath_regex only looks into the file path, not the domain.. If you want to block domain name patterns then you should use dstdom_regex.

Regards
Henrik

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

  Powered by Linux