Use SCRIPT_FILENAME in slowcgi

2014-03-01 Thread James Turner
The attached diff uses SCRIPT_FILENAME instead of SCRIPT_NAME to determine the path of CGI scripts in slowcgi. It also updates the example in nginx.conf. According to CGI/1.1: "The SCRIPT_NAME variable MUST be set to a URL path (not URL-encoded) which could identify the CGI script (rather

Re: Simple static testcgi.c

2014-03-01 Thread James Turner
Simplified. On Sat, Mar 01, 2014 at 02:27:44PM -0500, James Turner wrote: > So I wanted to test out nginx and slowcgi. I started everything up and > hit up localhost/cgi-bin/test-cgi. Whoops forgot to move /bin/sh into > the chroot. Try again, shit forgot to chmod 555 test-cgi. > > I was complain

Simple static testcgi.c

2014-03-01 Thread James Turner
So I wanted to test out nginx and slowcgi. I started everything up and hit up localhost/cgi-bin/test-cgi. Whoops forgot to move /bin/sh into the chroot. Try again, shit forgot to chmod 555 test-cgi. I was complaining on IRC and tbert suggested I write a simple statically linked testcgi.c so people

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-01 Thread Alexander Hall
On 02/28/14 23:51, Chris Cappuccio wrote: Here are some potential USB installer images for OpenBSD/amd64 5.5 http://www.nmedia.net/chris/install55.fs http://www.nmedia.net/chris/miniroot55.fs The install55.fs contains full installation packages. The miniroot55.fs is a ramdisk-kernel only (for n