• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

-squid regex-

hi, can anyone show me a sample of how to add a RegEx  strings that match cacheable URI's in squid.conf?

cheers!
0
mikesteven
Asked:
mikesteven
  • 3
  • 2
1 Solution
 
cjl7freelance for hireCommented:
Well, do you have any example of an URI that you want to act on?

Or if you wish:

acl blockme urlpath_regex -i sexy
http_access deny blockme


obviously there are many other regex options in squid, have a look here http://www.visolve.com/squid/squid24s1/access_controls.php for some examples.



0
 
mikestevenAuthor Commented:
are regex only use to allow or block? what about force caching?
0
 
mikestevenAuthor Commented:
I'm looking how to force the cache using regex strings. can you site me a sample? cheers!
0
 
cjl7freelance for hireCommented:
I don't understand, the proxy always caches all hits...

Are you talking about not letting the clients to get an updated version at all? (only allow hits to the cache and not further)


0
 
mikestevenAuthor Commented:
cjl7: force caching of the regex defined.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now