Page 1 of 1

Getting 404 on new HTML file in htdocs [SOLVED]

PostPosted: 01. April 2012 03:38
by zenbudda
xampp 1.7.7
Windows Vista 64bit

I created an example.html file in the htdocs folder. I am able to access localhost/index.html just fine. I am unable to access localhost/example.html. I get the following error:

Code: Select all
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
03/31/12 21:33:34
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1


When I installed xampp, I was sure to disable UAC.

In the xampp control panel, I see that the apache server is running.

What am I doing wrong?

Re: Getting 404 on new HTML file in htdocs

PostPosted: 01. April 2012 03:44
by Sharley
Read the \xampp\apache\logs\error.log file for clues.

Re: Getting 404 on new HTML file in htdocs

PostPosted: 01. April 2012 03:46
by zenbudda
I am sorry I posted this thread without doing this, but I rebooted my machine and now it's working. Not sure what happened. Sorry.

Sharley, thanks for the tip!