加拿大华人论坛 美国华人新闻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.
·加拿大新闻 欧拉首款纯电SUV亮相,或命名“欧拉5”
·加拿大新闻 慕尼黑,长安新航标
·加拿大新闻 “免费检查”骗局!士嘉堡男子花掉4万加元做了不必要屋顶维修
·加拿大新闻 新款911 Turbo S发布,这个价格还是没认清定位
·加拿大新闻 顶尖!多伦多病童医院荣登全球儿科第一!这些医院专科非常领
·生活百科 没有人会在星期二上午4:30取订单或取消预订吗?
·生活百科 来拜访亲戚或旅行者的父母的签证拒绝率是否高得多(与几年前