Sunday, November 04, 2007

Apache setup

My pre-Leopard setup for Apache had a number of tweaks, but they have all stopped working with the upgrade.

The configuration file seems to have moved to /etc/apache2/httpd.conf, and now Includes various *.conf files from the extra/ and other/ directories.

So I just created a other/dmd.conf file with the configuration that I'd previously added to httpd.conf, forced a refresh with sudo killall -HUP httpd and things were working again.

I also found that my user web directory (the stuff under ~/Sites) was no longer visible—browsers would get a 403 Access Denied. Following a couple of useful hints, I added a users/dmd.conf file and all was well:

<Directory "/Users/dmd/Sites/">
  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>

0 Comments:

Post a Comment

<< Home