Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a simple and pretty basic squid3 configurations in my home server. I use it in combination with Tor and Privoxy. I have defined privoxy as cache_peer in squid configuration and an access list containing URLs this way:

acl censored    dstdomain       "/home/me/censored.acl"
never_direct    allow   censored
cache_peer localhost            parent    8118     0  no-query no-digest name=privoxy
cache_peer_access       privoxy allow   censored

Gradually I add new URLs to the "censored.acl" file to be loaded via proxy and it works.

What I need is to make the process dynamic. For every request that goes to a blocked URL I have two lines of squid log:

1337354630.541    716 TCP_MISS/403 521 GET - DIRECT/ -
1337354630.614     24 TCP_HIT/000 0 GET - DIRECT/ -

The second line is always the same. Is there anyway that I can reload a request in squid according the the response? Or if the request followed by or redirected to another URL?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.