I need to make my users' home directories available to them over the web. I have LDAP authentication in place so only valid users can access the home directories but currently a valid user can access any given home directory. I want to jail users to their own home directory. Is this possible with Apache?
You could use vhost-alias, to deliver the user in their directory after authentication, and they won't be able to go into anyones else's directory.
You probably are looking for the directive
This will have apache look for
will look for the file