openbsd-ports/www/mod_fastcgi/patches/patch-mod_fastcgi_c
simon d0b6fc23a9 update to mod_fastcgi-SNAP-0811090952 in order to get http-auth
passthrough working among other fixes

running in production for a few months now
reads good to sthen@
2009-06-19 12:19:00 +00:00

13 lines
578 B
Plaintext

--- mod_fastcgi.c.orig Sun Nov 9 15:31:03 2008
+++ mod_fastcgi.c Wed Jan 28 23:45:46 2009
@@ -1073,7 +1073,8 @@ static int open_connection_to_fs(fcgi_request *fr)
{
socket_path = fcgi_util_socket_hash_filename(rp, fr->fs_path, fr->user, fr->group);
socket_path = fcgi_util_socket_make_path_absolute(rp, socket_path, 1);
-
+ ap_server_strip_chroot((char *) socket_path, 0);
+
#ifndef WIN32
err = fcgi_util_socket_make_domain_addr(rp, (struct sockaddr_un **)&socket_addr,
&socket_addr_len, socket_path);