ETC/e-TRAYz

[e-TRAYz] mod_rewrite 적용하기

황선호 2009. 12. 24. 01:30

1. Apache 환경설정 파일을 수정합니다.

~# vi /etc/apache2/httpd.conf

2. 아래위치에 AllowOverride None 을 ALL로 수정합니다. [약 270라인 부근]

...
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
...
 ↓  아래처럼, None을 지우고 ALL로 수정한 뒤 저장하세요.
...
<Directory />
    Options FollowSymLinks
    AllowOverride ALL
</Directory>
...

3. Apache 데몬을 재시작 합니다.

~# service apache restart