Z
Z
ZaurK2018-07-09 14:36:16
Apache HTTP Server
ZaurK, 2018-07-09 14:36:16

How to fix this error with permissions?

I started yii2 basic using docker, now I'm trying to start yii2 advanced in the same way, but I get an error in the container logs:

[email protected]:~/projects/my-project-name.local$ docker logs 589bcd793bfd
AH00112: Warning: DocumentRoot [/var/www/html] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.3. Set the 'ServerName' directive globally to suppress this message
AH00112: Warning: DocumentRoot [/var/www/html] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.3. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 09 11:23:11.216261 2018] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) configured -- resuming normal operations
[Mon Jul 09 11:23:11.216373 2018] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Please tell me how to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2018-07-09
@CityCat4

Have you looked into the Apache config?
1. Missing /var/www/html, specified in the config as DocumentRoot
2. Missing ServerName directive
There are no errors with access rights here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question