ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

íÕÓÏÒ × ÌÏÇÅ


  • To: <nginx-ru@xxxxxxxxx>
  • Subject: íÕÓÏÒ × ÌÏÇÅ
  • From: "Igor Savchenko" <dicsydel@xxxxxxxxx>
  • Date: Wed, 19 Dec 2007 08:41:08 +0200
  • Content-language: en-us
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:x-mailer:content-language:thread-index; bh=M+36gCxz5PEFP3Xff5sbigo0IOfwGUsy852cMSoNwvI=; b=Fqs9nZ0AsIaHzZ4b00xymFzpTqCQ7Yfz6UuLuvHXA9aiWFaoCEyyR70/cwmtSnhk/dfv9LEXMr6LE3bY3UEKM8xEGDrBkSlxUFM42tgqeO6v8V0v+uWB8rLEAlRlonfH8HAdDuRByiHjbZzVqsWF2UGozxnpBnfTvF8VAsPENmM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer:content-language:thread-index; b=g+Nd5donLiueWEqKzcxTp1rTOUOOEfeJfQ3rhjsQaJPDxEvYX0yJKg1g6cF9R0vwHyWQZkux6IRcSaYLaGWDkPfjFglMRpYC1btpO8XVyWWEzJ7x7oEiubDCQWDiVyJyLw8rgCHQ52Tlz8fTsksutRJz6ZQM5U6JESSNdBsQcEU=
  • Thread-index: AchCCiIpxt3GJf43Tyqc1xyFDAUqKA==

ëÕÓÏË ËÏÎÆÉÇÁ:

 

ššš perl_modulesš perl/lib;ššššššššššš

ššš perl_requireš rewrite.pm;

 

ššš server {

ššššššš listenšššššš xxx.xxx.xxx.xxx:80;

ššššš

ššššššš #charset koi8-r;

 

ššššššš #access_logš logs/host.access.logš main;

 

ššššššš location / {

 

šššššššššš open_file_cacheššššššššš max=2000š inactive=60s;

šššššššššš open_file_cache_retestšš 60s;

šššššššššš open_file_cache_errorsšš on;

 

šššššššššš perl rewrite::handler;

 

šššššššššš post_action /post_download;

ššššššš }

 

ššššššš location = /post_download

ššššššš {

ššššššššššššššš internal;

ššššššššššššššš rewrite ^ /download_stop.cgi?uri=$uri&bs=$body_bytes_sent last;

ššššššš }

 

ššššššš location /download_stop.cgi

ššššššš {

ššššššššššššššš perl rewrite::stop_handler;

šššš ššš}

ššš }

 

÷ÎÕÔÒÉ stop_handler:

 

my $r = shift;

$r->log_error(false, $r->args);

return OK;

 

 

÷ ÌÏÇÅ ÓÌÅÄÕÀÝÅÅ:

 

2007/12/19 00:31:54 [error] 61535#0: *1417 perl: uri=/post_download&bs=40960own, client: 202.75.4.170, server: download.site.com, URL: "/5a3ba22b9789ba171e78bb6b58fe437e/Beauty_.3gp", host: "down1.site.com", referrer: "http://www.site.com/download/1236014?PHPSESSID=f2d9589e523cc5d0c48469d2c54f9838"

2007/12/19 00:31:54 [error] 61544#0: *1965 perl: uri=/post_download&bs=45056, client: 60.39.62.155, server: download.site.com, URL: "/2f42563bf07585d1cd241de32b81c682/BrazilMa11.rar", host: "down1.site.com", referrer: "http://www.site.com/download/1268468?PHPSESSID=3dea75b9ade96edbf0137630cf858317"

2007/12/19 00:31:54 [error] 61526#0: *1979 perl: uri=/post_download&bs=1168load, client: 88.27.147.4, server: download.site.com, URL: "/9fe9c9286c20f8b29ba7531e223deff8/Alejo_y_Valentina.rar", host: "down1.site.com", referrer: "http://www.site.com/download/651795?PHPSESSID=fe552ca236d9fc216f389a7a8df18864"

2007/12/19 00:31:54 [error] 61526#0: *1980 perl: uri=/post_download&bs=1168load, client: 88.27.147.4, server: download.site.com, URL: "/9fe9c9286c20f8b29ba7531e223deff8/Alejo_y_Valentina.rar", host: "down1.site.com", referrer: "http://www.site.com/download/651795?PHPSESSID=fe552ca236d9fc216f389a7a8df18864"

2007/12/19 00:31:54 [error] 61532#0: *1984 perl: uri=/post_download&bs=1168, client: 60.19.64.47, server: download.site.com, URL: "/c1e309262ae61a015538029bbea1649b/fallout2chm.rar", host: "down1.site.com", referrer: "http://down1.site.com/c1e309262ae61a015538029bbea1649b/"

2007/12/19 00:31:55 [error] 61532#0: *1983 perl: uri=/post_download&bs=1168, client: 80.24.79.182, server: download.site.com, URL: "/cb51be67304d83bf90298fce3b454d50/vtp6.zip", host: "down1.site.com", referrer: "http://www.site.com/download/365377?PHPSESSID=c6d5cead17c6fa1396154a85be47815f"

2007/12/19 00:31:55 [error] 61529#0: *1991 perl: uri=/post_download&bs=1168down, client: 125.123.73.76, server: download.site.com, URL: "/8fa288b479d473e2905f6c88fe93c1fd/singapore3.AVI", host: "down1.site.com", referrer: "http://www.site.com/download/120649?PHPSESSID=d1713ba9739105315c637c1d1b06231b"

2007/12/19 00:31:55 [error] 61536#0: *1985 perl: uri=/post_download&bs=1168, client: 218.255.220.161, server: download.site.com, URL: "/efab18d955231318b137948c8b96b305/3park.net_0246.15-12-2007.asf", host: "down1.site.com", referrer: "http://www.site.com/download/1268697?PHPSESSID=de1a03c3ef2844fb3ce7c64e6a204e92"

2007/12/19 00:31:55 [error] 61532#0: *1936 perl: uri=/post_download&bs=40960, client: 60.48.67.237, server: download.site.com, URL: "/70d6d1218ce44025974e7068d431015b/melly_guslaw_-_mind_soul_-_gantung.mp3", host: "down1.site.com", referrer: http://down1.site.com/70d6d1218ce44025974e7068d431015b

 

ëÁË ×ÉÄÎÏ × ÎÅËÏÔÏÒÙÈ ÚÁÐÉÓÑÈ ÍÕÓÏÒ ÐÏÓÌÅ ÃÉÆÒÙ bs=. ïÔËÕÄÁ ÏÎ ÂÅÒÅÔÓÑ?

 

ðÏÐÁÄÁÀÔÓÑ ÄÁÖÅ ÓÔÒÏÞËÉ ÔÁËÏÇÏ ×ÉÄÁ:

 

2007/12/19 00:31:52 [error] 61535#0: *1904 perl: uri=/post_download&bs=1168t)|u, client: 60.19.64.47, server: download.site.com, URL: "/1253c7e825196f65b01f799207f51b19/FDZone.ORG-_ZMPIG_naruto_245_Jp_Cn_Xvid_BF_RMVB_.torrent", host: "down1.site.com", referrer: "http://www.site.com/download/977623?PHPSESSID=8dd1cccd9c77c2169089df759a4fccfc"

 

ïÔËÕÄÁ ×ÚÑÌÏÓØ «t)|u»?

 

/usr/local/nginx/sbin/nginx -V

nginx version: nginx/0.6.13

built by gcc 3.4.4 [FreeBSD] 20050518

configure arguments: --with-http_perl_module --with-debug --with-http_stub_status_module



 




Copyright © Lexa Software, 1996-2009.