Squid in front of Apache ?

Discussion in 'Server Operation' started by linickx, May 4, 2007.

  1. linickx

    linickx Member


    I've been looking at ways to get the "best" performance from my resources (i.e. fast-cgi, php caching etc) , and I thought that the best idea is to cache in front of apache, i.e. with squid.

    The problem I can see is that all access will go into a single log file (rather than one per virtual host), does anyone know if you can set up squid to create different log files based on destination...

    so requests to www.domain1.com logs go to /var/www/web1/logs/access_log
    & requests to www.domain2.com logs go to /var/www/web2/logs/access_log


Share This Page