Welcome! Log In Create A New Profile

Advanced

Подскажите по конфигу FCGI, плиз.

February 03, 2011 11:18AM
Получаю вот такую ошибку.
FastCGI sent in stderr: "Cannot get script name, is DOCUMENT_ROOT and SCRIPT_NAME
Доступ к странице 403

Тут подробнее кусок из лога http://test.stylepix.net/index.htm
А тут видно ошибку http://test.stylepix.net/index.php

У меня голова больше не соображает :)
[code]
server {

listen 80; ## listen for ipv4
server_name test.stylepix.net;
access_log /var/www/_test/ng_access.log;
error_log /var/www/_test/ng_error.log;

location / {
root /var/www/_test;
index index.php index.html index.htm;
autoindex on;
}

location ~ \.php$ {
fastcgi_pass unix:/var/run/fcgiwrap.socket;
gzip off;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $document_root;
include /etc/nginx/fastcgi_params;
}

}

[/code]

Спасибо!
Subject Author Posted

Подскажите по конфигу FCGI, плиз.

photographer February 03, 2011 11:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready