我有一个PHP Web应用程序,并不断抛出相同的错误,当我尝试加载其URL,我张贴在这里的原因是因为我密切到没有错误从日志只有一个我得到的Apache错误日志是这样的。
[Sat Sep 05 09:47:44 2015] [alert] [client **.**.**.**] /home/domain/public_html/invoice/.htaccess: Option FollowSymlinks not allowed here
我不认为是这里的问题,导致其警报,而不是一个错误..
服务器细节
Apache version 2.2.15 Centos 6.7 PHP 5.3.3 还ls -l列出文件作为root:root在所有者:组,用户我做是不是root它的phoenix:phoenix ,可以是权限问题?
# 1. To use this file, you need to be using Apache with mod_rewrite enabled. # 2. Rename this file to .htaccess (remove .txt from the end of this file name) Options +FollowSymlinks
你可以看看或更改的Apacheconfiguration?
如果是这样,你可以确保为您的虚拟主机或目录设置AllowOverride All。