ApacheでInvalid command ‘Header’のエラー

Ubuntu 14.04 で Apache + WordPress を動かそうとしたらエラーが

$ tail /var/log/apache2/error.log

Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

Headers moduleが無効のようなので、

$ sudo a2enmod headers

これで有効になったので、Apache再起動

$ sudo service apache2 restart

これでエラーが取れました

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.