1. mod_rewrite 설치
$ sudo a2enmod rewrite
2. etc/apache2/apache2.conf 파일 수정
$ vi etc/apache2/apache2.conf
<Directory /var/www/html>
Options FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
을 추가로 입력하고
Directory /var/www/ 의 None 를 ALL로 수정한다.
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None >>>>> None 를 All 로 수정한다.
Require all granted
</Directory>
3. 아파치 재시작
$ sudo systemctl restart apache2
www.woobi.net
welcome