I have just installed XAMPP on my machine, and when trying to access sub folders in h

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"

Sounds like you are trying to access a folder or page that doesn’t exist.

Have you tried manually creating the folder?

I had a reply all typed out and when I went to preview it I got a blank screen and when I went back everything I wrote was gone. :mad:

I’m not going through that again.

When you type localhost you are going to the xampp folder. Separate websites must be set up as virtual hosts in the httpd-vhosts.conf file. I had a more detailed response but it is gone. Oh well.

Try adding http:// before the localhost if that is not there.
May be it can work for you. it worked for me once.

If you try to access files directly in the htdocs folder, does it work? For example, create a index.html file and try accessing it… If it does work, then try accessing the same file in a sub-folder. Are you trying to access a file in a subfolder or a subfolder directly?

Example of accessing a subfolder:
http://localhost/subfolder

Example of accessing a file in a subfolder:
http://localhost/subfolder/index.html

Depending on the settings of your installation, if you access a subfolder without an index.html (or other default file name) in it, you could get a 404.