2
votes
0answers
39 views

Nginx & fcgiwrap, logging perl errors to error log

This is similar to this question, which got no responses: How to debug CGI over fcgiwrap/nginx How do I get perl errors to be automatically placed in the nginx error log? Right now, when there is any ...
0
votes
1answer
158 views

nginx dynamic servername with regular expression doesn't work for co.uk

I'm trying to setup a nginx server which dynamically loads content from a folder for a domain. To do this I'm using regular expressions in the server name like so: server_name ...
0
votes
1answer
280 views

How to use abstract names of unix domain sockets with fastcgi in nginx?

I tried some perl examples of unix domain sockets using abstract names: Created a socket starting with a null character: my $socket_path = "\0wibble"; using netstat -nlp I can see the socket: unix ...
0
votes
2answers
136 views

Dynamically set current domain in nginx with perl module

I know how to set variables and use subroutines with the nginx builtin perl module INSIDE a "server" directive but, what I need to do is to set/rewrite the current domain before. Let's say, we have a ...
0
votes
3answers
837 views

Perl not working with Nginx via fastcgi, cannot decipher error logs

Im running CentOS 6.2, Nginx 1.2.3 following these Linode Instructions to get Perl to work with Nginx I've done everything upto the point of testing an actual Perl file. When I do this the browser ...
0
votes
1answer
744 views

nginx redirect issue with upstream configuration

I have a website running with nginx and Plack/Starman as upstream. simple configuration looks like: upstream findmjob { server unix:/tmp/findmjob.sock; } server { listen 80; ...
1
vote
3answers
626 views

Perl missing while installing nginx on centos

I am trying to install nginx on my server, however it keeps returning "./configure: error: perl 5.6.1 or higher is required" eventhough I have perl v5.8.8!!!! I have already downloaded perl and ...
1
vote
1answer
391 views

Nginx directory aliasing incorrectly passing to fcgi

I have a website virtual host, example.com, which is statically served out of /home/erealms/www. However, the website runs through a series of perl scripts, which are located in various directories. ...
0
votes
1answer
797 views

nginx perl not working

I have NGINX working happily with PHP FPM all tickety-boo. I am trying to add some Perl pages. I have this in my default site config; location ~ \.pl$ { gzip off; include ...
1
vote
1answer
656 views

Why is Perl Cgiwrap Sock refusing connection to nginx?

Could anyone shed some light on the following line in my nginx error logs. I'm trying to get Perl and Nginx talking to each other, but so far no success. unix:/var/run/nginx/cgiwrap-dispatch.sock ...
1
vote
1answer
120 views

Nginx module to remove lines in html output

I got production server with nginx and php , I googled for a way to remove lines in html output and minify it ... ended with 2 modules I cannot implement even on my testing fedora server ( I am ...
1
vote
1answer
2k views

How do I configure nginx's embedded Perl to use Perl modules?

I have configured nginx to use a specific version of Perl. $ sudo /opt/nginx/sbin/nginx -V nginx version: nginx/0.8.54 built by gcc 4.1.2 20080704 (Red Hat 4.1.2-46) TLS SNI support disabled ...
4
votes
1answer
207 views

Perlbal For Upload Handling

how and how well does perlbal handle uploads? does it take care of buffering the entire file to disk efficiently, and then pass arguments or headers to the backend describing the file? right now, im ...
2
votes
1answer
792 views

How to configure Nginx to serve a variety of back-ends via multiple FCGI processes?

I've seen a lot of tutorials showing one how to set up PHP/Python/Perl/RoR on nginx via various FCGI processes. None of the tutorials that I found show one how to serve multiple FCGI services off one ...