In a fresh linux instalation, apache's document root points to /var/www/html
user apache group apache DocumentRoot /var/www/html <Directory /var/www/html> # ... </Directory> I want my documentRoot points to "/home/myapp/release/1.0.0/src/public", so I've made this changes:
DocumentRoot /home/myapp/release/1.0.0/src/public <Directory /home/myapp/release/1.0.0/src/public> # ... </Directory> But now I'm getting the 'Forbidden' error message. So what is the correct way to configure permissions in order to resolve this issue in a production enviroment.
/home/myapp/release/1.0.0/src/public