Apache2.4でドはまりしました。
Forbidden You don't have permission to access /test.txt on this server.
結論としてapache2.4で書き方が変わっていたみたいでした。
<VirtualHost *:80>
ServerName test.com
DocumentRoot /home/app/webroot
<Directory /home/app/webroot>
Options FollowSymLinks
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
を
<VirtualHost *:80>
ServerName test.com
DocumentRoot /home/app/webroot
<Directory /home/app/webroot>
Require all granted
</Directory>
</VirtualHost>
とするだけでした。完
追記
完じゃないよ。それだとTOPページ以外表示できないでしょうが。まだ子供が食べてるでしょうが!
TOPページ以外NOT FOUNDになったので以下を追加対応しました。


Pingback: M2 MacでWordPressの開発環境構築手順!MAMPは使うな!