LINUX

Apache rewrite module

OJR 2014. 8. 6. 15:55


참고

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

        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/"
.....