当我尝试访问我在htdocs目录中创建的符号链接文件夹中的文件和目录时,XAMPP会给出“访问被禁止”的错误。如何让XAMPP停止返回此错误,并开始返回我在符号链接目录中寻找的文件?请注意以下内容,这是我根据类似问题尝试过的方法:
- I am running this on
localhost
- XAMPP is activated, as I get a splash page when accessing
localhost
- XAMPP can read files I add to
htdocs
, as I have added anindex.html
file which is readable - The symlink, symlinked directory, and the subdirectories all have
755
perms, and the files I try to access are world-readable /Applications/XAMPP/xamppfiles/etc/httpd.conf
has:DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" <Directory "/Applications/XAMPP/xamppfiles/htdocs"> Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Require all granted </Directory>
I am running XAMPP 1.8.3 (latest version, downloaded today) on Mac OS X 10.9
谢谢!