Macguru

More software!

Enabling home directory support on 10.5 Apache

without comments

So, I had to rebuild my laptop the other day and I notice that 10.5.5 Apache does not support ~/home as an option. So, after some research (couldn’t remember how I did this before) I found the following website.

http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/

Basically, you have to tell apache about the home directory, since Apple disables that option.

Add a file called user.conf to /etc/apache/users/ with the following information: Of course replace “user” with the name of the actual home user you want.

 "/Users/user/Sites">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
>

Restart the Apache process: sudo apachectl restart

All good!

Written by rrhpph

October 17th, 2008 at 10:11 am

Posted in Software

Leave a Reply

You must be logged in to post a comment.