On my website, some users have their home pages in their own user accounts. However, when they try to access their webpage using <website>/~username it gives them 403 error.
I have checked all the permissions and all directories from /home/username to /home/username/public_html have 755 permissions and all files inside the public_html folder have read access and ownership is also with the user.
The httpd.conf file has the following rule:
RewriteRule ^/~([^/]+)/?(.+) /home/$1/public_html/$2/ [NC]
Yet it gives the 403 error.
Could someone provide me directions on the same.