Apache2.4のバーチャルホストでハマったところメモ

バーチャルホストの設定しててドハマリしたのでメモ。
ローカルの開発用Apacheなのでとりあえず全通ししたいとき。
これまで

<Directory "/var/www/foo">
  Order Allow, Deny
  Allow from all
  DirectoryIndex index.html index.cgi index.pl index.php
</Directory>

Apache2.4の場合

<Directory "/var/www/foo">
  Require all granted
  DirectoryIndex index.html index.cgi index.pl index.php
</Directory>