Donate to protect them directly or help international organizations.
.htaccess on Leopard
April 28th, 2008
After moving my databases and websites to a new Mac with Leopard, none of the websites were working. It was as if mod_rewrite was not working. First, I noticed that the .htaccess files were all ignored. I checked the Apache configuration file in MAMP, and everything seemed fine. After over an hour of going through blogs and forums, I finally get it: Leopard (it's my first day with it) has its own configuration file in a private folder. That file is not allowing htaccess files.
Solution
1. Open /private/etc/apache2/httpd.conf
2. Line 175 and 210: change AllowOverride none to AllowOverride All
3. Restart your server
4. Yay!
Previous: Runtime Sharing problems solved for good! Next: codeFest 2.1 Conclusion