I have two accounts on a centOS server. The first account has a normal public_html folder, the second account has a symlink to the first account public_html folder instead of a normal one.
The first account domain opens fine, but the second account domain shows a 403 Forbidden error. This seems to be a permissions problem because if I use chown to give the second user ownership or the first user folder then it works fine, but the first user is the one that shows the error in this case.
I had this working fine previously, but the server was hacked and I had to rebuild apache and since then it stopped working.
I tried adding the second user to the first user group in the /etc/group file and also checked the checkbox for "exclude restriction" for open_basedir on whm, but the error still persist.
What can I try to make this work like before?