вот sudo grep -Ev '^#|^$' /etc/apache2/apache2.conf
Mutex file:${APACHE_LOCK_DIR} default
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
ServerName localhost
<Directory "/data/site/cebephb1y/rating-photo.ru/www">
DirectoryIndex index.php index.html
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
cebephb1y@epps-server:~$
sudo grep -Ev '^#|^$' /etc/apache2/sites-available/rating-photo.ru.conf
<VirtualHost *:80>
ServerName rating-photo.ru
DocumentRoot /data/site/cebephb1y/rating-photo.ru/www
DirectoryIndex index.php index.html index.htm index.shtml
<Directory /data/site/cebephb1y/rating-photo.ru/www>
AllowOverride All
</Directory>
</VirtualHost>
sudo ls -ld /{,data/{,site/{,cebephb1y/{,rating-photo.ru/{,www/}}}}}
drwxr-xr-x 24 root root 4096 окт. 7 18:15 /
drwxrwxrwx 6 www-data root 4096 окт. 7 18:19 /data/
drwxrwxrwx 3 www-data root 4096 окт. 7 18:10 /data/site/
drwxrwxrwx 6 www-data root 4096 окт. 7 18:10 /data/site/cebephb1y/
drwxrwxrwx 3 www-data plugdev 4096 окт. 1 20:27 /data/site/cebephb1y/rating-photo.ru/
drwxrwxrwx 11 www-data www-data 4096 окт. 7 19:05 /data/site/cebephb1y/rating-photo.ru/www/
под спойлер не понял как