DEV Community

mhsohag11
mhsohag11

Posted on

Answer: 404 Not Found The requested URL was not found on this server

In Ubuntu I did not found httpd.conf, It may not exit longer now Edit in apache2.conf file working for me.

cd /etc/apache2
sudo gedit apache2.conf

Here in apache2.conf change

<Directory /var/www/>
     Options Indexes FollowSymLinks
     AllowOverride None
     Require all granted
</Directory>

to

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require

Discussion (0)