While configuring a server (with Apache webserver) we faced the error of 404 not found in CentOS 7. What is this, please?
To solve your current issue, you need to go to /etc/httpd/conf/httpd.conf path in the <Directory “/var/www”> section, add ”AllowOverride All” option:
<Directory "/var/www"> AllowOverride All Allow open access: Require all granted </Directory>
AllowOverride is defined as None by default. You should change it to All. Then, restart the Apache service.
systemctl restart httpd
Now, the error should be solved. But let me know of any probable issues.
+8595670151
7 days a week, 24 hours a day