| From | Sent On | Attachments |
|---|---|---|
| Chris Cortese | Feb 26, 2009 12:40 am | |
| mike | Feb 26, 2009 1:07 am | |
| Chris Cortese | Feb 26, 2009 1:35 am | |
| Anoop Alias | Feb 26, 2009 1:43 am | |
| Chris Cortese | Feb 26, 2009 2:08 am | |
| Grzegorz Nosek | Feb 26, 2009 2:26 am | |
| Chris Cortese | Feb 26, 2009 3:11 am | |
| Jim Ohlstein | Feb 26, 2009 3:35 am | |
| Grzegorz Nosek | Feb 26, 2009 4:03 am | |
| mike | Feb 26, 2009 9:47 am | |
| Jim Ohlstein | Feb 26, 2009 11:53 am | |
| Cliff Wells | Feb 26, 2009 1:02 pm | |
| mike | Feb 26, 2009 2:19 pm | |
| Jim Ohlstein | Feb 26, 2009 3:10 pm | |
| Chris Cortese | Feb 27, 2009 2:31 am | |
| luben | Feb 27, 2009 6:11 am | |
| luben | Feb 27, 2009 6:40 am | |
| Grzegorz Nosek | Feb 28, 2009 4:17 am | |
| mike | Feb 28, 2009 2:03 pm | |
| Roger Hoover | Mar 3, 2009 1:45 pm | |
| mike | Mar 3, 2009 6:10 pm | |
| Roger Hoover | Mar 3, 2009 8:08 pm | |
| Grzegorz Nosek | Mar 4, 2009 12:40 am | |
| mike | Mar 4, 2009 12:54 am | |
| Grzegorz Nosek | Mar 4, 2009 1:42 am | |
| Jean-Philippe Moal | Mar 4, 2009 1:50 am | |
| mike | Mar 4, 2009 2:14 am | |
| Roger Hoover | Mar 4, 2009 9:03 am | |
| Roger Hoover | Mar 4, 2009 9:23 am | |
| mike | Mar 4, 2009 11:51 am | |
| Roger Hoover | Mar 4, 2009 12:34 pm | |
| mike | Mar 4, 2009 8:53 pm | |
| mike | Mar 4, 2009 9:05 pm | |
| Roger Hoover | Mar 5, 2009 9:22 am | |
| mike | Mar 5, 2009 9:55 am | |
| Roger Hoover | Mar 5, 2009 12:25 pm | |
| mike | Mar 5, 2009 4:15 pm | |
| Roger Hoover | Mar 6, 2009 5:21 pm | |
| mike | Mar 6, 2009 6:16 pm |
| Subject: | Re: FCGI.pm ? | |
|---|---|---|
| From: | Chris Cortese (cort...@gmail.com) | |
| Date: | Feb 27, 2009 2:31:19 am | |
| List: | ru.sysoev.nginx | |
What about the nginx equivalent for the Apache ScriptAlias directive for cgi-bin?
I'm running fcgiwrap and have the following in my site config:
location ~ .pl$ { fastcgi_pass unix:/tmp/cgi.sock; include /etc/nginx/fastcgi_params; }
My directory structure is like: (higher up part of the path omitted for simplicity) /trunk/cgi-bin /trunk/html/public/index.php
If I want to call http://mysite.com/cgi-bin/upload.pl ... How can I tell nginx where to find this?
Thanks, Chris
Jim Ohlstein wrote:
The way I am using it (and the credit ALL goes to Grzegorsz who helped me a
great deal with it) on CentOS is to use the Perl script on that page
(http://nginx.localdomain.pl/wiki/FcgiWrap).
Then you add the following to the site config:
location ~ .pl$ { fastcgi_pass unix:/tmp/cgi.sock; include /usr/local/nginx/conf/fastcgi_params; }
You can adjust the number of child processes to suit your needs.
-----Original Message----- From: owne...@sysoev.ru [mailto:owne...@sysoev.ru] On Behalf Of Chris Cortese Sent: Thursday, February 26, 2009 6:11 AM To: ngi...@sysoev.ru Subject: Re: FCGI.pm ?
Thanks. That got me a little closer.
Now, I have built fcgiwrap but I don't know how to use it. From the http://nginx.localdomain.pl/wiki/FcgiWrap page, can anyone elaborate on what the following means?
You can then start fcgiwrap (possibly in several instances) using spawn-fcgi or a similar tool (you must pass an open socket as fd 0; my Spawner? will be very nice for this once I actually make it usable and publish it) and send requests to it using fastcgi_pass. That's it.
Thanks.
Grzegorz Nosek wrote:
On czw, lut 26, 2009 at 02:09:20 -0800, Chris Cortese wrote:
I am still not finding this fcgi_stdio.h anywhere.
I went to these links:
http://rpmfind.net/linux/rpm2html/search.php?query=libfcgi.so.0()(64bit )
debuginfo-2.4.0-6.fc8.x86_64.html
I tried installing:
ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS.newke y/fcgi-2.4.0-6.fc8.src.rpm
ftp://rpmfind.net/linux/fedora/releases/8/Everything/x86_64/os/Packages /fcgi-2.4.0-4.fc8.x86_64.rpm
6.fc8.x86_64.rpm
Any other place to find this stuff?
I don't use Fedora but try installing fcgi-devel (I guess that's the right package name) as well as fcgi. You need the headers (fcgi-
devel)
to compile fcgiwrap and the binaries (fcgi) to run it.
Best regards, Grzegorz Nosek





