使用XAMPP的符号链接

时间:2012-08-09 19:37:29

标签: xampp localhost

我在我的Mac上安装了symbolic linker,这让我可以轻松地创建任何文件夹的符号链接。

我决定创建我的php项目文件夹(在dropbox中)的符号链接,并将其放在我的XAMP htdocs文件夹中。但是,如果我尝试通过转到以下地址来访问该文件夹:

http://localhost/Projects/

我收到以下错误

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

我已经通过符号链接阅读了一些关于权限的内容,并且我确实更改了原始文件夹权限级别,以便为每个人读取和写入访问权限,但无济于事。

有谁知道如何让符号链接文件夹与XAMP一起使用。

由于

1 个答案:

答案 0 :(得分:0)

Owww,以下终端命令为我解决了问题:)

chmod go+x Dropbox

:D yippee