티스토리 뷰

CentOS7 설치 후 mod_rewrite모듈이 활성화되지 않을경우


디폴트로 APM환경에서 보면 웹사이트 루트는 /var/www/html 임

아래가 정답임.


You can do this by editing httpd.conf file:

sudo nano /etc/httpd/conf/httpd.conf

Find the section <directory /var/www/html> and change AllowOverride None to AllowOverride All

 <Directory /var/www/html>
    AllowOverride All
 </Directory>

Save and exit.

댓글