I am trying to change my DocumentRoot “/srv/http” to “/home/username/Web/var/www” but getting a forbidden error (403).
I’ve changed the value of DocumentRoot to my desired destination in /etc/httpd/conf/httpd.conf and also used chmod o+x Web. But the result remains the same.
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Apache/2.4.46 (Unix) PHP/7.4.10