2016. 9. 14. 00:18 Linux Server/apache
[apache] mod_rewrite 설치
[mod_rewrite 설치]
# cd /usr/local/src/APM-setup/httpd-2.4.3/modules/mappers -> 모듈을 설치하기 위하여 컴파일했던 위치로 이동합니다.
# /usr/local/apache/bin/apxs -a -i -c mod_rewrite.c -> 명령어를 이용하여 모듈을 생성합니다.
# vi /usr/local/apache/conf/httpd.conf -> httpd.conf 파일을 열어서 아래 내용을 수정합니다.
LoadModule rewrite_module modules/mod_rewrite.so -> 해당라인 주석해제
AllowOverride none -> AllowOverride All 로 변경
'Linux Server > apache' 카테고리의 다른 글
[php 언어셋 문제] (0) | 2017.05.09 |
---|---|
[apache] cband 모듈설치 (0) | 2017.04.27 |
[apache] rewrite 모듈을 이용한 http -> https 포워딩 (0) | 2017.04.26 |
[apache] 모듈 userdir (0) | 2017.01.10 |
[apache] apache 소스설치 (2.4.3) (0) | 2016.09.21 |