On tis, 2007-10-09 at 17:47 +0200, Sylvain Viart wrote: > Hi, > > I use a redirector on an accel proxy config. > > url_rewrite_program /etc/squid/redirector.pl > url_rewrite_children 15 > url_rewrite_concurrency 0 > url_rewrite_host_header off > > > It seems, that the url used to store the requested url is the orginal > url, not the rewrited on. The cache is using the rewritten URL. Sequence is approximately * Request accepted * http_access Access controls * URL rewriting, replacing Squid's idea of the URL * http_access2 Access controls * Cache lookup * Forwarding on cache miss * http_reply_access Reply access controls Because of this using "url_rewrite_host_header off" can be a very bad thing as it makes the requested URL sent to the web server differ from the cache URL, and can easily bite you.. Regards Henrik
Attachment:
signature.asc
Description: This is a digitally signed message part