加拿大华人论坛 美国华人新闻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.
·加拿大新闻 61.5万元起售,提供两个配置级,潜在用户该怎么选这车?
·加拿大新闻 第六代丰田RAV4,还是美版好!
·加拿大新闻 NBA通知所有球队:开始进行审查识别可疑投注行为
·加拿大新闻 月销又过万,这车总能卖得好,多款车型在售,家用如何选
·加拿大新闻 独一份!兰博基尼入华20周年纪念款亮相,收藏党冲!
·中文新闻 澳大利亚设计中心关闭:悉尼首屈一指的工艺和设计中心因资金
·中文新闻 小袋鼠春季巡回赛:在特威克纳姆失利后,英格兰对澳大利亚保








