Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
405 Not Allowed в Php скрипте.Post за прос
- To: nginx-ru@xxxxxxxxx
- Subject: 405 Not Allowed в Php скрипте.Post за прос
- From: "No1" <nginx-forum@xxxxxxxx>
- Date: Wed, 21 Jul 2010 06:22:36 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=b5kOJsCnk9DC0zwoW86MPmSrdHyQZyTgCFrcsxbMbok=; b=l7DqWGDEnjx/G/CIBEKI/YwFlBSxySB+SEVPaIg/f+zXI+eFLpWKJvMYi8QS8G4MPCa8a2d7GSSNYghnaXZlnZBkO3LKznYH0Qd+2+qW2E6fQAFStFkkfuUGOrstvT8w;
Скрипт динамический,все что есть с
данной ошибкой на форуме связано со
статикой.
Права на все 755.
В логах "Post basket/?st=1" получает 405.
[code]
upstream backend {
server 127.0.0.1:3000 weight=5;
server 127.0.0.1:3001 max_fails=3 fail_timeout=30s;
}
server {
listen 80;
server_name www.site;
access_log /var/log/nginx/site.access.log main;
location / {
root /var/www/site/;
index index.php;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/nginx-dist;
}
location ~ \.php$ {
fastcgi_pass backend;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/www/site$fastcgi_script_name;
include fastcgi_params;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
[/code]
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,111241,111241#msg-111241
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|