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
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
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
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