1.sudo a2enmod rewrite
---------------------------------------
root@ubundru:~# sudo a2enmod rewrite
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_TW:zh",
LC_ALL = (unset),
LC_PAPER = "zh_TW",
LC_ADDRESS = "zh_TW",
LC_MONETARY = "zh_TW",
LC_NUMERIC = "zh_TW",
LC_TELEPHONE = "zh_TW",
LC_IDENTIFICATION = "zh_TW",
LC_MEASUREMENT = "zh_TW",
LC_TIME = "zh_TW",
LC_NAME = "zh_TW",
LANG = "zh_TW.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Module rewrite already enabled
2.sudo vim /etc/apache2/apache2.conf
------------------------------------------
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
---------------------------------------------------
sudo /etc/init.d/apache2 reload
沒有留言:
張貼留言