웹마짱구's 블로그

httpd.conf 로그기록 - 특정디렉, 특정확장자 제외

Linux/Apache : 2011/11/27 13:47


LogLevel debug
SetEnvIfNoCase Request_URI "\.(gif|jpg|png|swf|css|js)$" do_not_log
SetEnvIf Request_URI "^/data/banner/" do_not_log


CustomLog "logs/access_log" common env=!do_not_log
top

Linux/Apache : 2011/11/27 13:47 Trackback. : Comment. : view 241

Trackback Address :: http://jjangu.pe.kr/blog/trackback/615

Write a comment.




: 1 : 2 : 3 : 4 : 5 : ... 543 :