Configurazione di /etc/apache2/sites-enabled/000-default.conf:
codice:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Ovviamente i file sono in /var/www/html
Console comandi per vedere se è configurato bene:
$ a2ensite 000-default.conf
Site 000-default already enabled
$ a2enmod
rewriteModule rewrite already enabled
Come risolvo?