OOPS, There is not the line always_direct in the squid.conf..... Just to be more clear, here is how squid seems to work:
- the URL is sent to squid, - squid send the URL to squidGuard (for the ACLs) - squidGuard sebd back to squid the URL, or a redirected page or a deny access - Then squid always send the original URL to the parent proxy (netscape) the last action should be : - squid sent the new URL (the URL returned by squidGuard), if squidGuard return a deny, squid should sent the deny page to the client. for testing purpose, I replaced squidGuard by my own script, which send to syslog all received request and always send back to squid an fixed URL. In that case, I can see that squid realy send a request to my script, but send to netscape the original URL (not the from-my-script URL) Le sam 06/12/2003 � 18:42, Muthu Kumar a �crit : > For instance the tags are set: > redirect_program /usr/lib/squidGuard > redirector_access allow all > always_direct all > cache_peer_access - the request is forwarded to the Netscape proxy > >>>> > > I think the problem is on the redirector_access allow all.For this,why > cannot you use > never_direct <Controls which requests should never be forwarded > directly to origin servers> > If we enable the always_direct all it will direct all to the origin > server.If you use the never_direct, > requests never be forwarded to the orgin server.Squid will give relyed > request and that will be only directed > to Netscape. > > > Regards, > Muthukumar. -- Cyril COUPEL <[EMAIL PROTECTED]>
