Edit report at https://bugs.php.net/bug.php?id=55322&edit=1

 ID:                 55322
 Updated by:         f...@php.net
 Reported by:        gregoire dot leroy at retenodus dot net
 Summary:            Apache : TRANSLATED_PATH doesn't consider chroot
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            FPM related
 Operating System:   Debian
 PHP Version:        5.3.6
-Assigned To:        
+Assigned To:        fat
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-07-30 00:37:21] gregoire dot leroy at retenodus dot net

Description:
------------
I use Apache and mod_fastcgi and I use PHP-FPM via a socket. I try to use the 
chroot directive.

When I don't use the chroot directive, the setup works fine. But when I use the 
chroot directive, I've an Apache error : File does not exist: /index.php

My vhost config : http://pastebin.com/fmCJQUsS
My pool config : http://pastebin.com/9NqEjEft

I think it's due to the fact that TRANSLATED_PATH doesn't consider the chroot.

We could add a directive "chroot_translated_path", which, when activated, would 
truncate the PATH_TRANSLATED.

Actual result:
--------------
Apache log :
[error] File does not exist: /index.php



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55322&edit=1

Reply via email to