红联Linux门户
Linux帮助

AWStats安装错误

发布时间:2014-07-31 10:03:55来源:linux网站作者:linux

AWStats 安装出现错误提示:

The server encountered an internal error or misconfiguration and was unable to complete your request.


当你的 web 程序出现上述错误后,很有可能是文件的权限设置的不对,linux 下文件单个文件需要设置为755,当你设置的是777就会这样!


根据 SELinux 的提示,更改配置:

# chcon -t httpd_sys_content_t '/usr/local/awstats/wwwroot/cgi-bin/awstats.pl'