by Nobbie » 08. June 2024 22:39
Apache is running with a different UserId than your own. See httpd.conf and watch out for "User" and "Group" setting, these are the UserID and Group which Apache is using.
You have to grant sufficient rights to your "user directory" (you probably mean /home/username) for the User running Apache, also grant sufficient rights to /home folder for the User running Apache.
If you did correctly, you also have to allow Apache within the Apache configuration to read the DocumentRoot, i.e. using "Require all granted" clause. As you dont show any of your "everyone i try", i cannot say what you are missing. Also your error description is rather poor, "it says forbidden access" is NOT what Apache says, you definately get an Errorcode at least (either 404 or 403). If you need help, you have to apply much more information.