【发布时间】:2014-01-04 19:08:56
【问题描述】:
大家好,我在我的网站上使用 PHP,在我的系统上使用 ubuntu linux。即使正确配置了所有内容,我在 apache 的 error.log 文件中也遇到了上述错误。我对此做了很多研究,但无法解决这个问题。任何人都可以在这方面帮助我吗?以下是我在abc directory 中的 .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 吗?
标签: php apache .htaccess mod-rewrite