Not Found The requested URL was not found on this server. Apache/2.4.29 (Ubuntu) Server at localhost Port 80 code example

Example 1: Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin
sudo service apache2 restart

Example 2: the requested url was not found on this server apache

In httpd.conf file you need to remove #

#LoadModule rewrite_module modules/mod_rewrite.so
after removing # line will look like this:

LoadModule rewrite_module modules/mod_rewrite.so
I am sure your issue will be solved..

Tags:

Php Example