I have a public_html folder for a user. I change the permissions according to the instructions online:
chmod 701 /home/*
chmod 705 /home/*/public_html
chmod 604 /home/*/public_html/*.html
chmod 705 /home/*/public_html/cgi-bin
and the files already in public_html are then visible online.
If the user uploads newer files to the public_html folder then it isn't visible.
I also ran chcon -R -t httpd_user_content_t home/*/public_html.
What am I missing to allow the user to upload their files and allow them to be seen online?