Hello,
I have a small question concerning suphp.
We run a small Linux webserver CentOS setup with CPanel on it.
Recently cpanel added suphp 0.7.1 to their update packages.
I updated this recently and it seems to work decently.
The one drawback for us at the moment with Suphp is that any directory/file
outside of the users home directory is accessible.
We are aware a lot of this can be fixxed by properly chowning certain
folders, however this has lead to other right related errors. (mostly log
file related).
With this new update to 0.7.1 I was hoping I could resolve this properly by
setting up a chroot with the newly implemented variables.
In my suphp.conf the line looks like this:
<begin code>
;Path to chroot() to before executing script
chroot=${HOME}
<end code>
Now in the manual it specifically mentions that the chroot command supports
variables.
However this does not seem to be the case, upon attempting to open any page
i get confronted with an "internal server error".
The log file shows the following:
[Wed Jul 15 12:50:59 2009] [error] [client 89.184.167.146] SystemException
in API_Linux.cpp:477: chroot() failed: No such file or directory
[Wed Jul 15 12:50:59 2009] [error] [client 89.184.167.146] Premature end of
script headers: test.php
Now my questions is:
Am I forgetting something or does chroot simply not support variables?
Kind regards,
Robin
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp