乘客未从指定的文档根读取 .htaccess
<VirtualHost *:80>
DocumentRoot /home/fred/AptanaStudioWorkspaceSS/railsapproot/public
ServerName 3strides.localhost
<Directory /home/fred/AptanaStudioWorkspaceSS/railsapproot/public>
AllowOverride all
Options Indexes -MultiViews
</Directory>
</VirtualHost>
我收到这个 apache 错误 (13)权限被拒绝:/home/fred/AptanaStudioWorkspaceSS/railsapproot/.htaccess pcfg_openfile: 无法检查 htaccess 文件,确保其可读
Apache 未访问 railsapproot/public读取 .htaccess 文件。我在railsapproot 中查找它
当我将.htaccess 权限更改为777 并复制到railsapproot 时,我收到类似的错误。
<VirtualHost *:80>
DocumentRoot /home/fred/AptanaStudioWorkspaceSS/railsapproot/public
ServerName 3strides.localhost
<Directory /home/fred/AptanaStudioWorkspaceSS/railsapproot/public>
AllowOverride all
Options Indexes -MultiViews
</Directory>
</VirtualHost>
I get this apache error
(13)Permission denied: /home/fred/AptanaStudioWorkspaceSS/railsapproot/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Apache did not visit railsapproot/public to read the .htaccess file. I looked for it in railsapproot
When I change .htaccess permissions to 777 and copy to railsapproot I get similar errors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,当某些子目录缺少 x 权限时,我会收到此消息。你能检查一下吗?
Usually, I get this when the x-permission is missing on some subdirectory. Can you check that?