I am using httpd server on CentOS (with SELinux enabled). I want to use UserDir (public_html)
If I create the user on local system it works but when I give the path on NFS shared system it gives 404 error.
I am using this directive:
If I try to access http://domain/~user
In error logs of httpd it says
/var/www/html/~user not found. Somehow it is not going to path
What's the solution for this?
I have set the boolean with
setsebool -P httpd_allow_nfs on and
nfs is mounted with options
defaults,nosuid,nodev (can I add noexec to it)