The default setting in Apache is for logs to store information (hits, page views etc.) in one log file. But what if you want to run reports for separate domain names or VirtualHosts on the server? You need a way to tell Apache to put the logfile information for each domain into a different file. Here's how it's done below. The main directive that needs adjusting in httpd.conf (the main confiuration file for Apache normally found in /etc/httpd/conf/httpd.conf - if you're not sure type "whereis httpd.conf") is in the section:
Writing logs to separate files for each domain in Apache
20 Jan 2010 | by Administrator







