开发者社区> 问答> 正文

apache日志异常

谁能告诉我如下apche日志怎么解决?

access_log:
222.186.58.97 - - [09/Apr/2015:19:46:51 +0800] "GET http://www.baidu.com/ HTTP/1.1" 200 44
我的服务器不可能绑定讨厌的baidu。

error_log:
[Thu Apr 09 18:57:50 2015] [error] [client 149.129.60.34] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /tmUnblock.cgi
[Thu Apr 09 18:57:51 2015] [error] [client 149.129.60.34] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
这个错误是怎么回事?怎么防止呢?

这两天,总是发生apache没关闭却访问不了网页的现象。
阿里云粉丝大哥们,拜托了。

展开
收起
整合 2015-04-09 22:18:35 9365 0
2 条回答
写回答
取消 提交回答
  • Reapache日志异常
    好恶心的http代理,默认就是开着的。
    可在httpd.conf文件里加ProxyRequests off一行怎么出如下错误呢?
    Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration
    怎样才能关闭http代理呢?
    非常感谢dongshan8大哥的答复。

    -------------------------

    Reapache日志异常
    郁闷的是apache默认安装,httpd.conf文件里根本没有proxy单词。
    httpd -l的结果里也没有proxy字段。
    2015-04-10 10:00:18
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    楼主您好,

    access_log的记录,可以参考一下这个:http://wiki.apache.org/httpd/ProxyAbuse

    error_log的记录,是不是有他人在做自动扫描?

    祝您早日解决问题。

    -------------------------

    回 2楼(整合) 的帖子
    您好,

    怎样才能关闭http代理呢?

    http://wiki.apache.org/httpd/ProxyAbuse这里有说到注释掉mod_proxy模块,请试试喔。
    2015-04-10 09:29:04
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Flink技术进阶 立即下载
Apache Spark: Cloud and On-Prem 立即下载
Hybrid Cloud and Apache Spark 立即下载

相关镜像