Resolution
.htaccess files can be enabled by placing the following contents in the httpd.conf file:
AccessFileName .htaccess<Directory "/var/www/vhosts">
Options +All
AllowOverride All
Order allow,deny
Allow from all
</Directory> Restart apache.
.htaccess files can be enabled by placing the following contents in the httpd.conf file:
AccessFileName .htaccess