I have all of my web sites under /home/userx/* for each of my users.  I
want to make sure that users can only access files in their own directory,
so I have the following options set

check_vhost_docroot=true
docroot=/home/*

setting docroot to /home/* works, but it is obviously less than ideal. What
I want is to set it to

docroot=${HOME}

so it is automatically updated for each user. But this gives me a 500
Internal Server Error. Now I know the problem is with the variable ${HOME}
because if I hard code it to

docroot=/home/user1

and try to open the website for user 1, it will work. My question is how I
can access ${HOME}.?Possibly dump all the variables

${USERNAME}
${UID}
${GROUPNAME}
${GID}
${HOME}

To the log file whenever there is an error.
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to