Can anyone tell me the steps I need to follow to enable .htaccess files with mod-rewrite rules on a Mac? I asked the question earlier, referencing MAMP. However, I discovered that reconfiguring things to accommodate MAMP's Apache version is way over my head. Apparently, some MAMP users just stick with Mac's default Apache program.
One reference directed me to uncomment the following lines in httpd.conf...
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
AccessFilename .htaccess
...and change "AllowOverride None" to "AllowOverride All" in both the
httpd.conf and /private/etc/httpd/users/MyName.conf files.
I did all of that, with two exceptions. I never exactly found the first
line; the closest thing to it is this, which I left uncommented:
LoadModule rewrite_module libexec/httpd/mod_rewrite.so
Also, I can't change "AllowOverride None" to "AllowOverride All" in
/private/etc/httpd/users/MyName.conf because it kills my virtual hosts.
Thanks for any tips.