Error during configuration of nginx with html and cgi-bin

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”

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220951,220951#msg-220951

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs