大家好,我在我的网站上使用PHP,在我的系统上使用ubuntu linux.我在apache的error.log文件中得到了上述错误,即使在正确配置所有内容之后也是如此.我对此做了很多研究,但无法解决问题.有人可以帮我解决这个问题吗?以下是我的.htaccess文件abc directory.有人可以帮我这方面吗?
# -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
Run Code Online (Sandbox Code Playgroud) 今天我将我的图像从一台服务器迁移到另一台服务器,并面临一个奇怪的许可问题
[Mon Mar 25 08:42:23.676315 2013] [core:crit] [pid 15182] (13)Permission denied: [client 24.14.2.22:48113] AH00529: /files/domain.com/public_html/images/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/files/domain.com/public_html/images/' is executable, referer: http://domain.com.com/file.php
Run Code Online (Sandbox Code Playgroud)
我试过的:
chmod -R 777 root_dir
restorecon -r
disable selinux
Chown -R root:root root_dir
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用Silex Bootstrap建立一个网站.我把它放在我的文件夹中与其他Web项目一起,并在Apache配置中更改了DocumentRoot.
<Directory /folder/to/silex_projects/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Run Code Online (Sandbox Code Playgroud)
但我无法打开框架的索引页面,Apache给出:
[2012年12月17日星期一21:10:52] [暴击] [客户端127.0.0.1](13)权限被拒绝:/folder/to/silex_project/web/.htaccess pcfg_openfile:无法检查htaccess文件,确保它是可读的
我用chmod整个项目文件夹chmod a+r -R.同一文件夹中的其他项目可以正常使用该.htaccess文件.
该.htaccess文件确实存在.