ПРОЕКТЫ 


  АРХИВ 


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: Отображение картинок.


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Отображение картинок.
  • From: Roxis <roxis@xxxxxxx>
  • Date: Fri, 30 Mar 2007 14:36:26 +0200
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=DiOO83Au4f2yBb+XaQAbiWCk5SYjk2/9qXuIzl64RlT9RjeOimXelAPMWkYphqPuBfOC2CWf1ii7zh7ZGu0F/fB7/4Z76218KR8BM8CTtCV1O0F0f2mb/QUcBUD9syb7wp4gbDeRyYEMtd9q8wqi4hpFwe2vrvoj1T2JmEZJ5co=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=UCiM0y1BVCkagmHutlFLfdE9Z80D3swkG7RMXp4ibxu2+Xr4q1D68Uf9K1hH2pmJHT2JyEzlHWoI5TH1TC5zLqHJyIoUjxDsNV7m9f2PyGMFLIRxeYTZaJed3dGnxAmqb5xJKdRf/qlFme8J5Q9G+maCUUDJFFJSIeJd3ila4q8=
  • In-reply-to: <460D018B.8030302@xxxxxxxxxx>
  • References: <460CE4C0.20608@xxxxxxxxxx> <200703301343.49028.roxis@xxxxxxx> <460D018B.8030302@xxxxxxxxxx>

On Friday 30 March 2007, Anatoly wrote:

>          location / {
>              root   /usr/local/www/donbasstele.com;
>              index  index.php index.html;
>
>
>             fastcgi_pass   localhost:8888;
>             fastcgi_index  index.php;
>             fastcgi_param  SCRIPT_FILENAME
> /usr/local/www/donbasstele.com$fastcgi_script_name;
>             fastcgi_param  DOCUMENT_ROOT    /usr/local/www/donbasstele.com;
>             fastcgi_param  QUERY_STRING     $query_string;
>             fastcgi_param  REQUEST_METHOD   $request_method;
>             fastcgi_param  CONTENT_TYPE     $content_type;
>             fastcgi_param  CONTENT_LENGTH   $content_length;
>
>
>          }

ошибка в том, что все файлы ( location / ) проходят обработку fastcgi 
сервером.
а вам нужно только php файлы ( location ~ \.php$ )



 




Copyright © Lexa Software, 1996-2009.