Disable .htaccess on Apache

It is possible to disable .htaccess files while using mod_rewrite in virtual host’s configuration file.

    <Directory /home/vagrant/blog/public>
        Options FollowSymLinks
        AllowOverride None
        Require all granted
        <IfModule mod_rewrite.c>
                RewriteEngine On
                RewriteBase /
                RewriteRule ^index\.php$ - [L]
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule . /index.php [L]
        </IfModule>
    </Directory>