php-xdebug-docker icon indicating copy to clipboard operation
php-xdebug-docker copied to clipboard

Document root is /var/www/html/public

Open StephanKrauss opened this issue 5 years ago • 0 comments

Hello,

i will modify the start point of the apache.

in the Dockerfile i set:

´´´ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/.conf RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/.conf ´´´ In the /etc/apache2/sites-available/*.conf there is no correct Document Root.

What is wrong.

Your sincerly

Stephan

StephanKrauss avatar Sep 18 '20 06:09 StephanKrauss