ПРОЕКТЫ 


  АРХИВ 


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]

Re: Проблема с index index.html и rewrite


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Проблема с index index.html и rewrite
  • From: Roxis <roxis@xxxxxxx>
  • Date: Fri, 15 Aug 2008 14:39:06 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :references:in-reply-to:x-face:x-mailer:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:sender; bh=Vm3nL/Fuz1AZ1Rhv1khMGQalbiI1WmxXPNngAShAq3o=; b=NRRSPIsKRQjlucfi3xaYGLwUbX3lhFgfZEwF0BS9hfN3zCvsMljjK4XbFbdKxF9jX5 BB9LkViD2VMBMlgH73+LAh/EFqGhwOLMEExMvmCQmrlC3LSVTpYwFWM/T/5tf3UvSmzK kfnGV6nC6mLEakHR8AaD2bMb6GpOtOTx2PRHA=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:references:in-reply-to:x-face:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:sender; b=SkYSDdxuuYumDhD2x6MCwivsCqor8NCHmJmJrttOqNxGoy+H+tj/Qc3O5n86lRtQuo +T0E9mYBQsVD7c9Y0T/mvgP41ieTfTGf6la4rdzMRPayg7DEdLNpH32JD1Y5/eBPOzap /kR97vBzoIhnoyB3vaLZNCNRm4TM0DYzmsIuI=
  • In-reply-to: <20080815122331.GG67587@xxxxxxxxxxxxx>
  • References: <508c50330808150509s2cabf839x5218caaa07086c42@xxxxxxxxxxxxxx> <20080815122331.GG67587@xxxxxxxxxxxxx>

On Friday 15 August 2008, Igor Sysoev wrote:
> Не нужно использовать "if (!-f $request_filename)" !
> Не нужно использовать "if (!-f $request_filename)" !
> Не нужно использовать "if (!-f $request_filename)" !
>
> Не нужно!

http://sysoev.ru/nginx/docs/http/ngx_http_rewrite_module.html

Примеры использования:

    if (!-f $request_filename) {
        break;
        proxy_pass  http://127.0.0.1;
    }


 




Copyright © Lexa Software, 1996-2009.