OS X Server Tips

To enable PHP:

  • nano /etc/apache2/httpd.conf
  • uncomment LoadModule php5_module…

To enable mod_rewrite

  • In the primary site configuration, change AllowOverride to AllowOverride All AuthConfig
  • Restart apache with sudo apachectl restart