To solve first problem write this in command line:
- sudo a2enmod rewrite - this will enable module
- sudo /etc/init.d/apache2 restart - this will restart apache
- sudo nano /etc/apache2/sites-enabled/000-default and set AllowOverride to All (by default - None)
- restart apache again (sudo /etc/init.d/apache2 restart).
Комментариев нет:
Отправить комментарий