網路上找到的文章大多是提到在 username.conf 中寫入以下設定
<Directory "/Users/username/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
但 10.10 之後的 Apache 2.4 的設定應為
<Directory "/Users/username/Sites/">
AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</Directory>
先讓他會動就好,改天再來研究 2.2 跟 2.4 的差異...
ref:
update:
Apache 官方就有提到 upgrade 該注意的事項 (上次玩apache 好像還是1.3.x,然後就踩到了 ...