mån 2006-10-23 klockan 07:08 +0000 skrev Monty Ree: > > > I have setup squid 2.6 for reverse proxy about several domains. > > > So I would like to leave each log messages to separate files per > > > cache_peer_domain. > > > Is there any method to do this? > > > >Yes. See access_log and dstdomain acl. > > > > Thanks for your kind answer. > If I have tow peer domains(www.abc.com, www.xyz.com), > Can you give me an example to leave a log about www.abc.com? Here is one way: acl abc dstdomain www.abc.com acl xyz dstdomain www.xyz.com access_log /path/to/xyz.log squid xyz access_log none xyz access_log /path/to/abc.log squid abc access_log none abc access_log /path/to/access.log squid Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel