I have just installed XAMPP on my machine, and when trying to access sub folders in htdocs I get the following error.
Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19"
What default security changes do I need to make in order to access child folders of htdocs? Thanks!
The issue is the object(project) folder and it is really not in the localhost.
Check the following things (Windows User)
1. project folder in htdocs
2. spelling of the project folder in htdocs C:\xampp\htdocs\projectname
3. Public folder inside project folder C:\xampp\htdocs\projectname\public
Agree @Drixson Oseña: You should not write localhost/xampp/...., else write for e.g: localhost/mw-config/index.php
First you have to check if FileZilla is running on xampp control panel Than such error can occur You have to stop the FileZilla service from Xampp control panel
I had recently the same issue, It might not be the same as your case, but if anyone has a similar situation as mine, somehow I deleted the .htaccess file in the root of my app, so I copied it back from a backup and it worked
You're having problem because the object really doesn't exist in your htdocs directory. You don't have to append
xampp
after localhost or 127.0.0.1 becausexampp
will treat it as an object or a folder under htdocs.if you want to access your blog, make sure you have a blog folder under htdocs and put in your URL
localhost/blog
Just make sure you have the
.htaccess
in your project's public directoryIf you don't have the file then create one and paste the below code in your
.htaccess
file.Code:-