title: Broken Apache configuration after upgrading to Yosemite
body: <p>Yesterday I upgraded to Yosemite and now my local configuration for web development is not working anymore.</p>
  
  <p>I managed to set up a userdir under <code>/Users/user/public_html</code> and I could access all the websites via <code>localhost/~user/websitename</code>. Nothing special, but it took me a while to configure.</p>
  
  <p>Looking in the apache directory I saw that many files were replaced, keeping a backup. I tried putting back the files with my settings again, but still is not working. Maybe I'm missing some file that I don't remember.</p>
  
  <p>This is httpd-userdir.conf:</p>
  
  <pre><code># Settings for user home directories
  #
  # Required module: mod_userdir
  
  #
  # UserDir: The name of the directory that is appended onto a user's home
  # directory if a ~user request is received.  Note that you must also set
  # the default access control for these directories, as in the example below.
  #
  UserDir public_html
  
  #
  # Users might not be in /Users/*/Sites, so use user-specific config files.
  #
  Include /private/etc/apache2/users/*.conf
  &lt;IfModule bonjour_module&gt;
         RegisterUserSite customized-users
  &lt;/IfModule&gt;
  
  &lt;Directory "/Users/*/public_html/"&gt;
      AllowOverride FileInfo AuthConfig Limit Indexes
          Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
          Order allow,deny
          Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Then in http.conf I have enabled some modules:</p>
  
  <pre><code>Include /private/etc/apache2/extra/httpd-userdir.conf
  LoadModule userdir_module libexec/apache2/mod_userdir.so
  </code></pre>
  
  <p>and this:</p>
  
  <p>DocumentRoot "/Users/user/public_html"</p>
  
  <pre><code>Directory "/Users/user/public_html"&gt;
      #
      # Possible values for the Options directive are "None", "All",
      # or any combination of:
      #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
      #
      # Note that "MultiViews" must be named *explicitly* --- "Options All"
      # doesn't give it to you.
      #
      # The Options directive is both complicated and important.  Please see
      # http://httpd.apache.org/docs/2.2/mod/core.html#options
      # for more information.
      #
      Options Indexes FollowSymLinks MultiViews
  
      #
      # AllowOverride controls what directives may be placed in .htaccess files.
      # It can be "All", "None", or any combination of the keywords:
      #   Options FileInfo AuthConfig Limit
      #
      AllowOverride all
  
      #
      # Controls who can get stuff from this server.
      #
      Order allow,deny
      Allow from all
  
  &lt;/Directory&gt;
  </code></pre>
  
  <p>If I simply try to access <code>localhost</code>, it displays the message "It works!". If I go to <code>localhost/user</code> simply doesn't load and the same if I try to access one of the websites.</p>
  
  <p>Did I miss any file? In the apache logs it doesn't even display any error.</p>