Ubuntu で rewrite を有効にする

Ubuntuでapache2のrewriteを有効にする作業をしたのでメモ。

# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart

# vi sites-available/default
※rewrite の設定内容は割愛します。

# service apache2 restart
* Restarting web server apache2

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName



コメントを残す