프로그램 사용/apache
mod_rewrite 로그설정
구차니
2017. 4. 12. 09:30
테스트를 해보니.. apache 전역 환경설정에서 해야 하고
로컬 .htaccess에 설정하면 에러가 발생한다.
[Wed Apr 12 09:14:03.530865 2017] [core:alert] [pid 30981] [client 0.0.0.0:3628] /var/www/html/arch/test/.htaccess: LogLevel not allowed here |
아파치 2.4 이후
LogLevel alert rewrite:trace3 |
[링크 : http://httpd.apache.org/docs/current/mod/mod_rewrite.html]
아파치 2.2 이전
RewriteEngine on RewriteLog /path/to/log RewriteLogLevel 5 |
[링크 : https://wiki.apache.org/httpd/RewriteLog]
그나저나 한 페이지 로딩할때 이미지나 css 등 개별파일들 전부 적용되서 로그가 남는구나 ㄷㄷ