首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

apache异常那位可以帮忙解决上-Invalid URI in request \x13BitTorrent protocolex

2012-07-31 
apache错误那位可以帮忙解决下-Invalid URI in request \x13BitTorrent protocolex错误日志redmine服务器,

apache错误那位可以帮忙解决下-Invalid URI in request \x13BitTorrent protocolex
错误日志

redmine服务器,采用apache服务器作为前置服务器,后面带的是ror应用服务器mongrol,采用1apache,6个mongrel,最近在apache访问日志大量出现如下错误,导致apache基本无法访问:


[Fri Mar 02 14:00:45 2012] [error] [client 61.160.70.37] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:00:46 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:00:52 2012] [error] [client 112.247.121.40] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:06 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:11 2012] [error] [client 61.160.70.37] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:24 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:29 2012] [error] [client 117.88.75.35] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:31 2012] [error] [client 112.247.121.40] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:47 2012] [error] [client 61.160.70.37] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:01:51 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:07 2012] [error] [client 114.112.46.250] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:07 2012] [error] [client 220.190.99.253] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:20 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:21 2012] [error] [client 125.83.48.199] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:21 2012] [error] [client 61.160.70.37] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:29 2012] [error] [client 123.62.25.61] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:29 2012] [error] [client 116.232.7.104] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:34 2012] [error] [client 121.8.125.59] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:53 2012] [error] [client 125.83.48.199] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:54 2012] [error] [client 121.249.212.126] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:02:54 2012] [error] [client 116.232.7.104] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:03:02 2012] [error] [client 121.8.125.59] Invalid URI in request \x13BitTorrent protocolex
[Fri Mar 02 14:03:17 2012] [error] [client 125.83.48.199] Invalid URI in request \x13BitTorrent protocolex

?

?

通过apache的server_status查看

256 requests currently being processed, 0 idle workers 基础环境

redmine1.1.3

apache2.2

内部采用路由器将内网映射到外网IP地址

?

原因

google\baidu上分析原因是因为内部有人使用bt下载,并且bt的将bt的下载端口设置为了80端口,从而将所有bt的连接转入到此apache服务器导致

google上解决方案:

Ubuntu Apache 错误日志上出现大量的

Invalid URI in request /x13BitTorrent protocolex

解决

httpd.conf里面

SetEnvIfNoCase Request_URI "BitTorrent" BT

然后在对应 VH 的 Directory 容器的 Deny 里加

Deny from env=BT

之后仍然有错误提示

Invalid method in request /xb1
无法解决此问题



求解

除了更改apache端口号

将内网不应伸到外网外,

增加apache连接数外

那位还能提供第四种解决方案,感谢

热点排行