Использование .htacces в Apache на Ubuntu

Как настроить apache что бы можно было использовать .htaccess. В самом httpd.conf нету дерективы AllowOverride. в /etc/apache2/sites-enabled/site.ru  где находятся дериктивы allowOverride выставлял all но всё равно ничего не помагает (apache перезагружал).  

1 комментарий

  • /etc/apache2/sites-enabled/site.ru в студию

    Only available in <Directory> sections
    AllowOverride is valid only in <Directory> sections specified without regular expressions, not in <Location>, <DirectoryMatch> or <Files> sections.