Модули и опции
apachectl configtest – проверка конфигов
apachectl -l – просмотр скомпилированных в ядро apache модулей
a2enmod, a2dismod – enable or disable an apache2 module
a2enconf, a2disconf – enable or disable an apache2 configuration file
Включить .htaccess
В файле /etc/apache2/sites-available/default
<directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride Al
Order allow,deny
allow from all
</directory>AllowOverride Al
Order allow,deny
allow from all
Включить модуль rewrite
ln -s ../mods-available/rewrite.load