ПРОЕКТЫ 


  АРХИВ 


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: Массив $_POST приходит пустой


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Массив $_POST приходит пустой
  • From: Alexander <alexweb@xxxxxxxxx>
  • Date: Fri, 19 Dec 2008 13:03:51 +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 :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=Y5BQLRKqC7uIgTWjJwSttOQli6vTmRBMtixI1ujIm7Y=; b=tWfY4G3fVHS3c6YNQdnaeiHIq9ujrOZGoeg0NFYacyciUaMwsIKaAyEdL33A9hkYBd wraNHOJYEMUywGYUGUhAEn+2UKa2oYGIE0xOMIDvTz/ELb0lIrmUKHz+hIpNlKLLHK2H YavhbQXG6Yfvz7kjLNXLVn4oy36EMjfoHqUiM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=aQFLqpDVbD0XW4wxmPyh/SIBi0H7oaOpUQEvJBBPZUy/U7Cp+1bRb/BRg+MTLcjGw7 FUDW/31FGdJf1qUNubvM9Poe2hNvT/XQhMUasGr6khxRlUxBmpoKRnoVQ2wcOqiOU9QL B0Jr/Ug7e+fi3pnnK2HzqUu3uRm/NqgkRbU/s=
  • In-reply-to: <20081219071706.GA97245@xxxxxxxxxxxxx>
  • References: <200812190148.04001.alexweb@xxxxxxxxx> <20081219071706.GA97245@xxxxxxxxxxxxx>

Тем не менее, после всех изменений, массив $_POST  все так-же пуст

server {
        listen   128.0.0.9:8080;
        server_name  www.server.com;
        root   /home/alex/public_html/server.com;
        index index.php 
        
        gzip on;
        gzip_min_length  1000;
        gzip_buffers     8 8k;
        gzip_proxied any;              
        gzip_types  text/plain text/html text/css application/x-javascript 
text/xml 
application/xml application/xml+rss text/javascript;
        

        access_log  /var/log/nginx/electricalhub.access.log;
        error_log  /home/alex/www/server.com/nginx.error.log debug;
        
        location @js {
            include /etc/nginx/fastcgi_params;
            fastcgi_param  
SCRIPT_FILENAME    
/home/alex/public_html/server.com/index.php;#$fastcgi_script_name;
            rewrite x.js(.*) /js/index.php last;
        }
        
        location = /js/index.php/x.js {
            error_page 404 = @js;
        }
        
        location / {
            error_page 404 = @magento;
        }
        
        location @magento {
            fastcgi_pass 127.0.0.1:8888;
            fastcgi_param 
SCRIPT_FILENAME /home/alex/public_html/server.com/index.php;
            include /etc/nginx/fastcgi_params;
        }
        
        location / {
            error_page 404 = @magento;
        }
        
            
        # media
        location ~* \.(png|gif|jpg|jpeg|css|js|swf|ico)$ {
      root   /home/alex/public_html/server.com/;
      access_log off;
      expires max;
            break;
  }

        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
                root   /var/www/nginx-default;
        }

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        location ~ /\.ht {
                deny  all;
        }
}




On 19 декабря 2008, Igor Sysoev wrote:
> location / {
>            error_page 404 = @magento;
>        }
>
>        location @magento {
>            fastcgi_pass   ...
>            fastcgi_param  SCRIPT_FILENAME
>  /home/alex/public_html/server.com/index.php; include
> /etc/nginx/fastcgi_params;
>        }





 




Copyright © Lexa Software, 1996-2009.