Skip to content

Instantly share code, notes, and snippets.

@mccutchen
Created October 12, 2013 13:31
Show Gist options
  • Select an option

  • Save mccutchen/6950054 to your computer and use it in GitHub Desktop.

Select an option

Save mccutchen/6950054 to your computer and use it in GitHub Desktop.
# Super simple apache config for serving humortree locally under
# OS X. The default apache config includes other/*.conf, so just
# stick this somewhere like:
#
# /etc/apache2/other/humortree.conf
<VirtualHost *:80>
DocumentRoot "/Users/mccutchen/workspace/humortree.org"
ServerName humortree.local
ErrorLog "/private/var/log/apache2/humortree.local-error_log"
CustomLog "/private/var/log/apache2/humortree.local-access_log" common
</VirtualHost>
<Directory /Users/mccutchen/workspace/humortree.org>
Order allow,deny
Allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment