加拿大华人论坛 美国华人新闻How to create seperate access log for virtual host?
在加拿大
First off you need the server access logs to be readable by the script. Also if you have a lot of virtual hosts and all those use one access log file you need to split them up in a log file for each domain name.That is done in the apache httpd.conf or in the file where you have configured your virtual host:LogFormat "%h %l %u %t "%r" %>s %b" common<virtualhost *:80>DocumentRoot "/var/www/html/example.com"ServerName example.comErrorLog logs/example.error.logCustomLog logs/example.access.log common</virtualhost>CustomLog is the access log you will be needing.
·新西兰新闻 警方用DNA调查北岛乡村尸骸 当地56年前有儿童离奇失踪
·新西兰新闻 北岛消防员处置车祸现场 发现死者为自己的妻子