2009-06-19 08:19:00 -04:00
|
|
|
--- 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)
|
2005-02-14 01:23:23 -05:00
|
|
|
{
|
|
|
|
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);
|