close

[Solved] The requested URL was not found on this server

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error The requested URL was not found on this server in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How The requested URL was not found on this server Error Occurs?

Today I get the following error The requested URL was not found on this server in php.

How To Solve The requested URL was not found on this server Error ?

  1. How To Solve The requested URL was not found on this server Error ?

    To Solve The requested URL was not found on this server Error In Ubuntu I did not found httpd.conf, It may not exit longer now. Edit in apache2.conf file working for me.

  2. The requested URL was not found on this server

    To Solve The requested URL was not found on this server Error In Ubuntu I did not found httpd.conf, It may not exit longer now. Edit in apache2.conf file working for me.

Solution 1

For me, using OS X Catalina: Changing from AllowOverride None to AllowOverride All is the one that works.

httpd.conf is located on /etc/apache2/httpd.conf.

Env: PHP7. MySQL8.

Solution 2

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 all granted
</Directory>  

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment