Your configuration files are all set up correctly? I don't know anything about xampp. I prefer to install everything separately. When I installed Apache 2 I had to modify a file called httpd.conf. Make sure all that is set up correctly... like, for example, your DocumentRoot should be something like "C:/htdocs".