avr
Debian 404 Apache Исправляем проблемы после переезда!
— — — — —
sudo -i

a2enmod rewrite

Then you need to edit the default site.

Open this with your favorite editor:

/etc/apache2/sites-available/000-default

Find this..

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

and change it to...

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all

and restart the server..

service apache2 restart