CODE
<VirtualHost *:80>
ServerAdmin magento@localhost.com
ServerName magento.localhost.com
DocumentRoot /srv/www/magento_dev/public_html
<Directory /srv/www/magento_dev/public_html/>
Options Indexes FollowSymlinks Multiviews
AllowOverride All
Order allow, deny
allow from all
</Directory>
ErrorLog /srv/www/magento_dev/logs/error.log
LogLevel warn
</VirtualHost>
ServerAdmin magento@localhost.com
ServerName magento.localhost.com
DocumentRoot /srv/www/magento_dev/public_html
<Directory /srv/www/magento_dev/public_html/>
Options Indexes FollowSymlinks Multiviews
AllowOverride All
Order allow, deny
allow from all
</Directory>
ErrorLog /srv/www/magento_dev/logs/error.log
LogLevel warn
</VirtualHost>
Ale jak wpisuję polecenie: sudo a2ensite magento.localhost.com to wyskakuje błąd: ERROR: Site magento.localhost.com does not exist!,
mimo że w katalogu /etc/apache2/sites-available znajduje się plik magento.localhost.com