Search squid archive

Re: Redirector irritation

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

 




The default squid.conf file contains the following lines:

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

Cheers Chris, i already commented these out. I think i need to have a
transparent proxy configured so that both incoming and outgoing port
80 requests redirect through Squid's port. Otherwise the redirector
just hands it off to port 80. It works this way. I'll just have to
convince the sysadmin as much :-)

Cheers
Jim


Which states that URL path containing either the string "cgi-bin" or a
question mark (?) will not be cached.  Usually that's a safe bet, as
both contain dynamic content that is not guaranteed to have freshness
information included.  Either comment out the default no_cache line or
add lines like...

acl mysite dstdomain .server.com
acl QUERY urlpath_regex cgi-bin \?
no_cache allow mysite
no_cache deny QUERY

...to specify that all requests in the domain server.com should be
eligible for caching.  I'm not certain the second option will work, but
it's worth a try...

Chris



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

  Powered by Linux