title: 404 Not Found - Can't get apache webserver to see UserDir
body: <p>So I'm trying to set up a full LAMP for a friends computer, and everything seems fine with the installation, I just can't get apache to find the user's ~/public_html directory. Entering <code>localhost</code>, for just the /var/www directory or whatever works fine, I get the success message, but entering <code>localhost/~user</code> gives me a 404. Here's the line I added in the apache2.conf file...</p>
  
  <pre><code>239 # Add user directory public_html
  240 UserDir public_html
  </code></pre>
  
  <p>...and here's the /etc/apach2/mods-enabled/userdir.conf file....</p>
  
  <pre><code>  1 &lt;IfModule mod_userdir.c&gt;
    2         UserDir public_html
    3         UserDir disabled root
    4 
    5         &lt;Directory /home/*/public_html&gt;
    6                 AllowOverride FileInfo AuthConfig Limit Indexes
    7                 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoEx    ec
    8                 &lt;Limit GET POST OPTIONS&gt;
    9                         Order allow,deny
   10                         Allow from all
   11                 &lt;/Limit&gt;
   12                 &lt;LimitExcept GET POST OPTIONS&gt;
   13                         Order deny,allow
   14                         Deny from all
   15                 &lt;/LimitExcept&gt;
   16         &lt;/Directory&gt;
   17 &lt;/IfModule&gt;
   18 
  </code></pre>
  
  <p>He's running ubuntu 12.04</p>
  
  <p>~           </p>