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: SSI


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: SSI
  • From: Aleksandr Sytar <sytar.alex@xxxxxxxxx>
  • Date: Sun, 13 Jun 2010 17:43:51 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=rtb47yn0dMaiycGL+csDgzeh0i2be3xyiWl+NaLfuzU=; b=VGLuNdwyFRqSJBnI3DB+sC5VkJ7HES+AxUEg8DJuYa/mkKbBiOxlo6/mJ0+VAqd7Qu 8pctQumCZkePdWFtMn2DZlJIqg3uTWok2HtXDPzQWrqptr9E7RCoMuQ0SoyTtcKV5bVt 2Qk3UPUlh5k8BoYLSvJbttzq33+TjMpU0os2E=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=FxDZfiDC74D2Dc1kAUaFVT86ZflHUHm//pIa+FXR35mUsUkDPwA6PyNpkscPdg96bW JjmOdIbttcDoVRmnA7Nr3TebjH/m8lp+3z6dqw/2Cmjwp+I+BfNQJAOZ1Z39dzP1lgcY 8ZdkHl7gly2ImnLKzEx7BNanX+KTtph9gYyM8=
  • In-reply-to: <20100613131601.GI56540@xxxxxxxxxxxxx>
  • References: <AANLkTil6IEol9_YAzxsQpnu6brEc3Ds0EEr2zMmPGrmA@xxxxxxxxxxxxxx> <20100613131601.GI56540@xxxxxxxxxxxxx>

13  2010 . 17:16  Igor Sysoev <igor@xxxxxxxxx> :
> On Sun, Jun 13, 2010 at 01:58:19PM +0400, Aleksandr Sytar wrote:
>
>>   -    nginx   error_page  SSI-include
>>
>> server {
>>    listen 80;
>>    server_name name;
>>
>>    charset utf-8;
>>
>>    access_log /var/log/nginx/test.access.log combined;
>>    access_log /var/log/nginx/upstream.test.access.log upstream;
>>
>>    root  /var/www/www;
>>
>>    ssi on;
>>
>>    gzip off;
>>
>>    log_subrequest on;
>>
>>    set   $memcached_key "$uri";
>>
>>    location / {
>>        default_type    text/html;
>>        memcached_pass memcached;
>>        error_page   404 502 504 = @php;
>>     }
>>
>> #  ssi-include
>>     location /catalog/get_subcategory_product {
>>        default_type    text/html;
>>        memcached_pass memcached;
>>        error_page   404 502 504 = @php;
>>     }
>>
>>     location @php {
>>        fastcgi_pass backend;
>>        include fastcgi_params;
>>        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
>>        fastcgi_param PATH_INFO    $uri;
>>        fastcgi_param REQUEST_URI   $uri;
>>     }
>> }
>>
>>  -   nginx   ,    
>>   404  error_page
>
>  ,   .
>

     .  upstream.log   
  nginx  .    -   
,    try_files  ,    
 .



-- 
Have a nice day

Attachment: error.log
Description: Binary data

Attachment: test.access.log
Description: Binary data

Attachment: test.conf
Description: Binary data

Attachment: upstream.test.access.log
Description: Binary data

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

  • References:

 




Copyright © Lexa Software, 1996-2009.