You can fix this by modifying the AllowOverride option in the Apache configuration file. AllowOverride is equal to none by default, and if you change it to All, your problem will be solved.
Using a text editor, open the /etc/httpd/conf/httpd.conf file and find AllowOverride in the settings section of your site, and set it to “All“:
<VirtualHost *:80> ServerName example.com DocumentRoot /var/www/html/example.com <Directory "/var/www/html/example.com"> AllowOverride All </Directory> </VirtualHost>
+8595670151
7 days a week, 24 hours a day