Fixing your personal web server after upgrading to OSX Yosemite

18 October 2014

This is not related to FlexPaper but thought we’d share this with other developers since some of our users just upgraded to Yosemite and we think many others may have this problem.

If you have just upgraded to Yosemite and you are using the apache personal web server in OSX you may have noticed that your personal directory isn’t available any longer. To help you out we decided to post some notes on how to get this working

1. Open your /etc/apache2/httpd.conf in a text editor
** uncomment the following line
#LoadModule userdir_module libexec/apache2/mod_userdir.so
and
#Include /private/etc/apache2/extra/httpd-userdir.conf
</p>

  1. Open /private/etc/apache2/extra/httpd-userdir.conf in a text editor
    </strong>uncomment  the following line
    #Include /private/etc/apache2/users/*.conf

**3. Make sure you have a /private/etc/apache2/users/(Username).conf file
** also make sure that its contents looks like so:

<Directory “/Users/(Username)/Sites/”>
Options Indexes MultiViews
AllowOverride All
Require all granted
</Directory>

tada!

The “Require all granted” is important since apache has been upgraded to version 2.4 with Yosemite