참고
https://www.linux.co.kr/apache/rewrite_Module/Apache_rewrite_Module.htm
Apache rewrite 사용 방법
http://kurapa.com/content-a2132
Debian에서 Apache의 mod_rewrite 모드 활성화
http://blog2book.hanb.co.kr/72
apache2 mod_rewrite 설정
http://kldp.org/node/85334
설명- 예 포함.
http://leos.tistory.com/49
ubuntu-apache2 에서 여러 삽질중에
/etc/apache2/sites-enabled/000-default
에서 수정을 했다.
.....
CustomLog /var/log/apache2/access.log combined
ServerSignature On
CustomLog /var/log/apache2/access.log combined
ServerSignature On
RewriteEngine on
RewriteLog /var/rewrite_log.log
RewriteLogLevel 9
RewriteRule ^/$ /phpinfo.php [R]
RewriteRule ^/([a-zA-Z0-9]+)$ /phpinfo.php [R]
Alias /doc/ "/usr/share/doc/"
.....
'LINUX' 카테고리의 다른 글
apache 로그 rsyslog 를 사용해 remote 서버에 로깅 (0) | 2014.08.04 |
---|---|
perl 문자열 치환 (0) | 2013.04.22 |
rsync (포트 : 873) (0) | 2013.02.26 |
리눅스 telnet (0) | 2012.09.15 |
sendmail 관련 (0) | 2012.09.12 |