Awie wrote: > Dear All, > > I want to upgrade my Squid2.5S14 to 2.6S6. I found that field > "redirect_program" no longer exist in squid.conf of 2.6S6. After exploring > FAQ, I could not find information that I need. Hope I get the answer here. > > 1. Can I still use put "redirect_program" field in 2.6S6? > 2. If no, what is the replacement command "redirect_program"? > 3. What is the new format replacement for "redirect_program > /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf"? > > Thank you very much for your help. > > Best Regards, > > Awie > > > > . > In sources (cf.data.pre) you can find: NAME: url_rewrite_program redirect_program TYPE: programline LOC: Config.Program.url_rewrite.command DEFAULT: none DOC_START Specify the location of the executable for the URL rewriter. Since they can perform almost any function there isn't one included. For each requested URL rewriter will receive on line with the format URL <SP> client_ip "/" fqdn <SP> user <SP> method <SP> urlgroup <NL> And the rewriter may return a rewritten URL. The other components of the request line does not need to be returned (ignored if they are). The rewriter can also indicate that a client-side redirect should be performed to the new URL. This is done by prefixing the returned URL with "301:" (moved permanently) or 302: (moved temporarily). It can also return a "urlgroup" that can subsequently be matched in cache_peer_access and similar ACL driven rules. An urlgroup is returned by prefixing the returned url with "!urlgroup!" By default, a URL rewriter is not used. DOC_END So url_rewrite_program and redirect_program is the same I suppose.