blog posts

kloxo更新后出现:Starting httpd: Syntax error on line 12 of /home/apache/conf/defaults/_default.conf

Starting httpd: Syntax error on line 12 of /home/apache/conf/defaults/_default.conf:
UserDir “enable” keyword requires a list of usernames

修改

/usr/local/lxlabs/kloxo/httpdocs/lib/domain/web/driver/web__apachelib.php

文件中,把所有

$string .= “\t\tUserDir enabled\n”

改成

$string .= “\t\tUserDir enabled *\n”

运行:

/script/fixweb

service httpd restart

Leave a Reply