我有一个文件夹在我的根目录下MAMP,站点。我有一个符号链接到〜/文档/保管箱/站点文件夹,因此在现场无论发生什么事情被转移到Dropbox的。
I have a folder in my root MAMP directory, "site". I have that symlinked to a folder in ~/Documents/Dropbox/site, so whatever happens in "site" gets transferred to Dropbox.
然而,当我这样做,我得到试图查看本地主机/网站
当一个403 Forbidden错误 - 这是一个问题,因为我使用PHP和我应该修复的php.ini,或者这是一个httpd.conf中的问题?
However, when I do this, I get a 403 forbidden error when trying to view localhost/site
- is this a problem because I'm using PHP and I should fix php.ini, or is this an httpd.conf problem?
在httpd.conf中,我有的AllowOverride
设置为无
。
In httpd.conf, I have AllowOverride
set to None
.
感谢提前任何答案。
推荐答案
还有Apache中的的FollowSymLinks
选项,一般默认为禁用。您可以通过执行启用它
There's also the FollowSymlinks
option in Apache, which is generally disabled by default. You can enable it by doing
Options +FollowSymlinks
相关推荐
最新文章