Answer the question
In order to leave comments, you need to log in
Apache2 does not see the directory from the config, why?
For some reason, Apache does not see the directory with the site files.
I create a config in the sites-enabled directory. I write
the path like this:
<VirtualHost *:80>
ServerName domain.com
ServerAlias www.domain.com
ServerAdmin [email protected]
DocumentRoot /var/www/html/domain.com/bases
#RemoteIPHeader X-Forwarded-For
<Directory /var/www/html/domain.com/bases>
Options Includes Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Answer the question
In order to leave comments, you need to log in
...weird. Should work in theory. Have you tried adding quotes in the path?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question