title: Apache only loading "It works" and not files
body: <p>I recently had my hard drive cleared and I reinstalled Apache,  I've seen this on other websites but none of the solutions worked for me, Apache keeps display "It works" when I do the root website domain ( <a href="http://wrks.tk/" rel="nofollow">http://wrks.tk/</a> ).  It doesn't display the folders and files within it. </p>
  
  <p>Another problem is that when I try to load my website folders ( <a href="http://wrks.tk/DNS" rel="nofollow">http://wrks.tk/DNS</a> ) it gives a 404 Error.</p>
  
  <p>In my httpd-vhosts.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot "/Library/WebServer/Documents"
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
          DocumentRoot "/Workarea"
          ServerName wrks.tk
          ErrorLog "/Logs/Workarea/wrks-err"
          CustomLog "/Logs/Workarea/wrks-acc" common
          &lt;Directory "/Workarea"&gt;
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And the location to everything is correct.</p>
  
  <p><code>EDIT 1</code></p>
  
  <p>Okay, I located the index.html file in <code>/Library/WebServer/Documents</code>, it it contained "It works!".  But that doesn't help me much.</p>
  
  <p><br />
  <code>EDIT 2</code></p>
  
  <p>I added <code>DirectoryIndex Home.php</code> to my virtual host. And then added a <code>Home.php</code> to my website, and put some stuff in it, but I still get "It works!".</p>
  
  <p><br />
  <code>EDIT 3</code></p>
  
  <p>I Noticed that I couldn't even edit the file name, so I renamed the folder to something else, that didn't work. I also tried making a new folder. That didn't work either.</p>