This post is for anyone trying to permalinks working on your localhost in Lion (os x 10.7+). It took about 2 hours of digging but I finally found a great post which outlines the process of setting up Lion’s native apache2 install to accept .htacces instructions. The bassics are below.
- Locate your httpd.conf file (private/etc/apache2/http.conf)
- open it in an editor and do the following
- uncomment the following lines (remove the #)
#LoadModule rewrite_module libexec/apache2/mod_rewrite.so
#LoadModule rewrite_module libexec/apache2/mod_rewrite.so
- uncomment the following lines (remove the #)
- next search for “AllowOverride” and change the value from “None” to “All” for .htaccess
- next go to the users directory and open the YourUserName.config file and change the “AllowOverride” value from “None” to “All”
And there you go. Your local install of WordPress or whatever should now be able the provide instructions through an .htaccess file.


