vagnercardosoweb/docker-php8

in apache2

hi2rashid opened this issue · 1 comments

docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable
docker.apache | AH00526: Syntax error on line 267 of /usr/local/apache2/conf/httpd.conf:
docker.apache | DocumentRoot '/var/www/app/public_html' is not a directory, or is not readable

Same here, I cannot get rid of the /app/ path.

You have to move the docker and public_html directories to a /app/ folder.