取り敢えずは 成功でしょうか?( ̄∇ ̄)
[△○□@server2 logs]$ cat access_log | tail
-50 | less
[29/Aug/2003:16:49:09 +0900] "GET /index.php
HTTP/1.1" 200 4073 "http://www.yumidon.com/sava/lsof/lsof1.html"
"Opera/7.11 (Windows NT 5.0; U) [ja]"
env=!image-request
[29/Aug/2003:16:49:09 +0900] "GET /index.php
HTTP/1.1" 200 4073 "http://www.yumidon.com/sava/lsof/lsof1.html"
"Opera/7.11 (Windows NT 5.0; U) [ja]"
[29/Aug/2003:16:49:10 +0900] "GET /yumidon.ico
HTTP/1.1" 200 1406 "http://www.yumidon.com/index.php"
"Opera/7.11 (Windows NT 5.0; U) [ja]"
env=!image-request
[△○□@server2 logs]$ cat worm_log | less
****.***.**.**- - [24/Aug/2003:19:53:05 +0900]
"GET /default.ida?XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9
090%u6858%ucbd3%u7801%u9090%u9090%u8190%u00c
3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a
HTTP/1.0" 404 209 "-" "-"
***.***.**.** - - [28/Aug/2003:18:29:49 +0900]
"GET /default.ida?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u780
1%u9090%u9090%u8190%u00c3%u0003%u8b00%u5
31b%u53ff%u0078%u0000%u00=a HTTP/1.0"
404 209 "-" "-"
***.***.**.**- - [29/Aug/2003:16:39:13 +0900]
"GET /default.ida?XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u
9090%u6858%ucbd3%u7801%u9090%u9090%u8190%u00c
3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a
HTTP/1.0" 404 209 "-"
"-"
----------------------------------------------------------------------------------
ログローテーションの設定
[root@server2 logrotate.d]# vi
apache
/usr/local/apache2/logs/worm_log {
missingok
postrotate
/bin/kill -HUP `cat /usr/local/apache2/logs/httpd.pid
2>/dev/null` 2> /dev/null || true
endscript
}