为什么阿帕奇禁止通过符号链接访问? [英] why does apache forbid access via symbolic links?
问题描述
我试图安装TYPO3按照指示,但我有一个有点难题的解决。
这似乎阿帕奇拒绝访问我尝试通过在站点根目录中的任何符号链接来访问任何文件。我从改变权限的 SymLinksIfOwnerMatch 为的FollowSymLinks 并没有喜悦。
我工作在Mac OSX上(SL),并在我的用户的网站目录中安装。我可以通过符号链接通过Web浏览器访问任何文件,该CMS目录中,只是没有任何东西。
I am trying to install typo3 as per the instructions but I have a bit of a puzzle to solve. It seems apache denies access to any files I try to access via any symbolic link in the site root directory. I have changed permissions from SymLinksIfOwnerMatch to FollowSymLinks and no joy. I'm working on mac OSX (SL) and installing in my user's "Sites" directory. I can access any files in this CMS directory via the web browser just not anything through symbolic links.
推荐答案
好吧,我终于得到了解决它。在OSX管辖安装在用户目录网站的访问是最后的最后文件的 包含
的在的Apache2 / conf目录线/extra/httpd-userdir.conf$c$c>file。有一次,我改变了我的问题就走了。
感谢所有回答我的问题的人。
Ok I eventually solved it. In OSX the final file that governs access of sites installed in user directories is the last Include
line in the apache2/conf/extra/httpd-userdir.conf
file. Once I changed that my problems went away.
Thanks to all the people that replied my questions.
这篇关于为什么阿帕奇禁止通过符号链接访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!