The Apache installed on Mac OS X Leopard (10.5.x) is initially configured extremely conservatively, at first glance it appears broken when you try to visit your user account directory and you get:

This is supposed to display the contents of /Users/jpeacock/Site To fix this you need to add a directory configuration for your user account directories.
Open a terminal and edit the Apache configuration file /etc/apache2/httpd.conf as root, adding the new directory configuration as shown below the existing comment block:
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
# open up permissions for user dirs
<directory "/Users/*/Sites">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</directory>Save your changes, then restart Apache to reload the new configuration:
sudo /usr/sbin/apachectl restart
Now everything should be working:

Post a Comment