其实,Mac自带的Web服务器是Apache2,因此多数问题都是可以google apache可以解决,此问题也不例外.
首先,我们来编辑apache的用户配置文件:
[quote]
/etc/apache2/users/username.conf
[/quote]
将原来的
[quote]
Options Indexes MultiViews
[/quote]
改为
[quote]
Options Indexes MultiViews FollowSymLinks
[/quote]
再将用户下得Documents的权限改掉
[quote]
chmod 755 ~/Documents
[/quote]
首先,我们来编辑apache的用户配置文件:
[quote]
/etc/apache2/users/username.conf
[/quote]
将原来的
[quote]
Options Indexes MultiViews
[/quote]
改为
[quote]
Options Indexes MultiViews FollowSymLinks
[/quote]
再将用户下得Documents的权限改掉
[quote]
chmod 755 ~/Documents
[/quote]