23 Dec '12, 8am

fcgiwrapで403 / “fcgiwrap upstream errors - Ruby Forum”

I'll try the newer fcgiwrap when I get back home in a couple hours. For now, in case this is helpful info: I'm getting a 403 Forbidden on the stdout of the terminal where I ran the fcgiwrap. At the same time I get *11 upstream closed prematurely FastCGI stdout while reading response header from upstream, client: my.ip.address, server: my_server, request: "GET /cgi-bin/test.pl HTTP/1.1", upstream: "fastcgi://unix:/tmp/cgi.sock:", host: "my_server:my_port" in the nginx error log and 502 Bad Gateway in the browser. I have chmod 755 test.pl. I took test.pl from the net somewhere. It is just: #!/usr/bin/perl print "Content-Type: text/html\n\n"; print "Hello, World!\n"; The relevant parts of my nginx config are: in my_virtual_host.conf: location /cgi-bin/ { fastcgi_pass unix:/tmp/cgi.sock; include /etc/nginx/perl_fcgiwrap_params; } in perl_fcgiwrap_params: **note** I've tried a ...

Full article: http://www.ruby-forum.com/topic/180064

Tweets

ST Forum: Have you been pronouncing "Singapura"...

straitstimes.com 23 Dec '12, 9pm

WE THANK Mrs Jane Lai ("Pronunciation differs from 30 years ago"; last Thursday) and Mr Mohammad Yazid ("Pronounce Singapu...

Alberta Finds Mismanagement of Errors Causes Fracking Water Contamination

Alberta Finds Mismanagement of Errors Causes Fr...

desmogblog.com 22 Dec '12, 7pm

"There is no amount of regulation that can overcome human error," said Alberta's Energy Resources Conservation Board (ERCB...

Better Errors - страница ошибки на стероидах

rubyflow.ru 21 Dec '12, 2pm

Better Errors - библиотека, заменяющая стандартную страницу ошибки в Rails/Rack-приложении. Вы получаете: full stack trace...