ПРОЕКТЫ 


  АРХИВ 


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]

valid_referers


  • To: nginx-ru@xxxxxxxxx
  • Subject: valid_referers
  • From: "Anton Maksimenkov" <anton200@xxxxxxxxx>
  • Date: Mon, 3 Apr 2006 22:26:53 +0600
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rOyPHrcYX1mYivSYYnZRiGPvdRmgdmSul9muMwmT6RWBncrmRflSdyaiwdM9vIZ2aK8oYRhh0BULy59J0Ch63zJqehi+UlYnGi3NI/fViztIVBrPI1kGCuj30KTDImS/ZMQ/oQpEvtdVH2Z/Sx4OOkqgKCHvcNRlklqh3mohuOU=

После добавления в конфиг куска из примера:

valid_referers none blocked *.site.my/ www.site.my/;
if ($invalid_referer) {
        return 404;
}

получил грязные ругательства:

2006/04/03 09:09:25 [emerg] 26101#0: the "none" or "blocked" referers
are specified in the "valid_referers" directive without any valid
referer
2006/04/03 09:09:25 [emerg] 26101#0: the configuration file
/var/nginx/conf/nginx.conf test failed

как тут быть ?
--
engineer


 




Copyright © Lexa Software, 1996-2009.