ПРОЕКТЫ 


  АРХИВ 


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]

Nginx rewrite


  • To: nginx-ru@xxxxxxxxx
  • Subject: Nginx rewrite
  • From: "Sib" <nginx-forum@xxxxxxxx>
  • Date: Wed, 06 Jul 2011 02:12:35 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=6ppeHN1aVcHi+j8a5Nzcr1kQfjpxz5GNUnZCg7mUKXc=; b=kIo93lvevgniaEaGACWOI4QKY9fhzaxXbzr0FuWuFWavnezd/uHmxzLvp6Y4yJcRu8F749yeNZqiXiimYYpKy6NiesESnb3HdwNL4AFImQAWh+4lp9tJd2hqj4CcE9eV;

Здраствуйте. Каке правило rewirite для nginx

<FilesMatch "\.(php|cgi|pl|php3|php4|php5|php6|phps|phtml|shtml)$">
   Order allow,deny
   Deny from all
</FilesMatch>

Для правила

Order Deny,Allow
Deny from all

Я правильно задаю

location / {
deny all
}

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,211981,211981#msg-211981


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.