Well this is not exactly what you requested but... what about symlinking to /var/log/httpd/ from user homedir, making the /var/log/httpd directory mode 0751, owned by root:root, and file httpd-example-org.log owned by root:user with mode 0640, etc? Set modes on other directories so that they can't be listed by anyone xcpt for root, only their content could be acessed directly.
Many website hosters do it this way.
Or, if you want, you can chroot user and make a hard link to logfile(didn't ever try that but it should work).
|