大家好我使用PHP爲我的網站和Ubuntu系統上的Linux。我在apache的error.log文件中得到了上述錯誤,即使正確配置了一切後也是如此。我在這方面做了大量的研究,但無法解決問題。任何人都可以幫助我在這reagard?以下是我的.htaccess文件abc directory
。任何人都可以在這方面幫助我嗎?權限被拒絕:/var/www/abc/.htaccess pcfg_openfile:無法檢查htaccess文件,確保它可讀?
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName abc.org
AuthUserFile /home/abc/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/abc/public_html/_vti_pvt/service.grp
Options -Indexes
RewriteEngine On
RewriteRule ^alumni$ alumni.php
RewriteRule ^student$ student.php
RewriteRule ^view_alumni_article/view/([0-9]+)$ view_alumni_article.php?op=view&article_id=$1
您是否啓用了SELinux? – anubhava