<p>so, I'm running Apache on my laptop.</p>

<p>If I go to "localhost", I get the page that says, </p>

<blockquote>
  <p>If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.</p>
</blockquote>

<p>except, I can't add content and replace that page.</p>

<p>I can click on its links, and that works fine.</p>

<p>First of all, there's not even an "index.html" document in that directory. If I try to directly access one that I created with localhost/index.html, I get "the request URL was not found on the server." So, I'm not even sure where that page is coming from. I've searched for words in that page under the apache directory, and nothing turns up. It seems to redirect somewhere.</p>

<p>Just as a test, I KNOW that it loads localhost/manual/index.html (doesn't matter what that is) so I tried to replace that with something I've written, and I received the message </p>

<blockquote>
  <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
</blockquote>

<p>The error log says, </p>

<blockquote>
  <p>[Fri Sep 12 20:27:54 2008] [error] [client 127.0.0.1] Syntax error in type map, no ':' in C:/Program Files/Apache Group/Apache2/manual/index.html for header \r\n</p>
</blockquote>

<p>But, that page works fine if I open directly with a browser. </p>

<p>so, basically, I don't know what I don't know here. I'm not sure what apache is looking for. I'm not sure if the error is in my config file, my html page, or what. </p>

<p>Oh, and the reason I want to open this using apache is (mainly) because I'm trying to test some php, so I'm trying to get apache to run locally. </p>

<p>Thanks. </p>

[{'answer_id': 60217, 'author': 'cschol', 'author_id': 2386, 'author_profile': 'https://Stackoverflow.com/users/2386', 'pm_score': 3, 'selected': True, 'text': '<p>"By default, your pages should be placed in the "C:\\Program Files\\Apache Group\\Apache2\\htdocs" folder for Apache 2.0 and the "C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs" folder for Apache 2.2. When your site is ready, simply delete the existing files in the folder and replace them with those you want to test."</p>\n\n<p>From <a href="http://www.thesitewizard.com/apache/install-apache-2-windows.shtml" rel="nofollow noreferrer">here</a>.</p>\n'}, {'answer_id': 60231, 'author': 'Baltimark', 'author_id': 1179, 'author_profile': 'https://Stackoverflow.com/users/1179', 'pm_score': 1, 'selected': False, 'text': '<p>OK, </p>\n\n<p>To answer my own. . .I found that the "Listen" directive in the configuration file had been set to "Listen 80" instead of "Listen localhost: 80".</p>\n\n<p>Also, localhost/htdocs/index.html doesn\'t work, but localhost/index.html does. </p>\n\n<p>Hopefully this can help someone in the future. </p>\n\n<p>Thanks, Schroeder.</p>\n'}, {'answer_id': 12457970, 'author': 'limitcracker', 'author_id': 389717, 'author_profile': 'https://Stackoverflow.com/users/389717', 'pm_score': 0, 'selected': False, 'text': '<p>If you have Skype it also uses the same ports(80, 443) as Xampp does. So start Xampp first and then Skype.</p>\n\n<p>[source: http://starikovs.com/2011/02/23/apache-doesnt-start-in-xampp/]</p>\n'}]
['https://Stackoverflow.com/questions/60213', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1179/']