[Solved] Error message: “Object not found! The requested URL was not found on this server.” [closed]


By default, xampp’s apache looks into c:\xampp\htdocs

But you should have the habit to create virtual hosts for your projects. Open c:\xampp\apache\conf\extra\httpd-vhosts.conf, and place this into it:

<VirtualHost *:80>
DocumentRoot "C:/Eclipse/workspace/your-project/"
ServerName your-project
<Directory C:/Eclipse/workspace/your-project/>
  Order Allow,Deny
  Allow from 127.0.0.1
</Directory>
</VirtualHost>

Then open your hosts file and add your-project entry:

127.0.0.1 your-project

Restart apache and you can browse to http://your-project/

solved Error message: “Object not found! The requested URL was not found on this server.” [closed]