hasen's tech life

Twitter: @hasen

AWSのEC2でApacheのリダイレクトが効かないなと思ったら,以下の設定が異なっていたので変更した.

# AWSのEC2でApacheのリダイレクトが効かないなと思ったら,以下の設定が異なっていたので変更した.

$ vi /usr/etc/conf/httpd.conf
<Directory "/var/www">
-- AllowOverride All
++ AllowOverride None

<Directory "/var/www/html">
-- AllowOverride None
++ AllowOverride All