[#]
http://marc.info/?l=openbsd-cvs&m=140706459726750&w=2
openbsd-cvs(obsdave,2) — All
2014-08-03 15:55:09
Module name: src
Changes by: reyk@cvs.openbsd.org 2014/08/03 05:16:10
Modified files:
usr.sbin/httpd : config.c httpd.h parse.y server_fcgi.c
server_file.c
Log message:
Split fastcgi socket path and document root option and add the
SCRIPT_FILENAME CGI param with a prepended root. This fixes php-fpm
that expects SCRIPT_FILENAME and also works with slowcgi if you
configure the root correctly. For example, if SCRIPT_NAME and
REQUEST_URI are /php/index.php, root is /htdocs, SCRIPT_FILENAME will
be /htdocs/php/index.php. As tested and discussed with florian@