If you keep the user_home_dir_t context applied to all of the users’ home directories, that will make it simpler for other applications besides httpd to read the users’ home directories.
Here are some steps on how to achieve that:
1. This command will copy the /home directories SELinux context over to the /althome directory:
# semanage fcontext -a -e /home /althome
2. Run restorecon on the /althome directory to apply the semanage-fcontext changes above:
3. The following command will enable httpd to read from user home directories (for example: /home/* and now /althome/*)
# setsebool httpd_read_user_content on
4. Finally, make sure execute (i.e. search) permissions are enabled for the apache user on each directory leading up to the users’ home directories.
# chmod a+x /althome/ # chmod a+x /althome/users # chmod a+x /althome/users/username