正德厚生,臻于至善

httpd server access ip地址统计

##########################################
vi $INST_TOP/ora/10.1.3/Apache/Apache/conf/httpd.conf
LogFormat "%h %l %u %t \"%r\" %>s %b %T \"%{Referer}i\" \"%{User-Agent}i\" %{X-Forwarded-For}i" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

cd $LOG_HOME/ora/10.1.3/Apache
rm -rf $LOG_HOME/ora/10.1.3/Apache/*
adapcctl.sh stop
adapcctl.sh start
##########################################
cd $LOG_HOME/ora/10.1.3/Apache
grep -rin "/OA_HTML/Bne" access*

cd $LOG_HOME/ora/10.1.3/Apache
grep -rin "client denied by server configuration: /OA_HTML/Bne" *

cd $LOG_HOME/ora/10.1.3/Apache
grep -rin "/OA_HTML/Bne" access*|awk '{print $1,$NF}'|uniq -c|head -10

cd $LOG_HOME/ora/10.1.3/Apache
grep -rin "/OA_HTML/Bne" access*|awk '{print $1,$NF}'|uniq -c |sort -rn |head -10
##########################################
赞(0) 打赏
未经允许不得转载:徐万新之路 » httpd server access ip地址统计

支持快讯、专题、百度收录推送、人机验证、多级分类筛选器,适用于垂直站点、科技博客、个人站,扁平化设计、简洁白色、超多功能配置、会员中心、直达链接、文章图片弹窗、自动缩略图等...

联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

登录

找回密码

注册