Welcome! Log In Create A New Profile

Advanced

Error during configuration of nginx with html and cgi-bin

January 09, 2012 04:17AM
Hi


I am configuring the nginx , I have added the following entry in nginx.conf


server {
listen 80;
server_name localhost;
include /etc/nginx/mime.types;
default_type application/octet-stream;

location / {
root /var/www/vendx/html_asp;
index index.html index.htm;
}

location ~ \.cgi$ {
gzip off;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
fastcgi_index index.cgi;
fastcgi_param SCRIPT_FILENAME /var/www/vendx$fastcgi_script_name;
}




When I trying to login I am getting the following error in logs.


2012/01/09 14:42:29 [error] 21061#0: *1 open() "/var/www/vendx/html_asp/graphs/mis/amcharts/ampie/data/1326100348_21063_account_qcs_waiting.xml" failed (2: No such file or directory), client: 192.168.1.44, server: localhost, request: "GET /graphs/mis/amcharts/ampie/data/1326100348_21063_account_qcs_waiting.xml HTTP/1.1", host: "192.168.1.45"
Subject Author Posted

Error during configuration of nginx with html and cgi-bin

niraj January 09, 2012 04:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
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