||Apache Web-Serving with Mac OS X: Part 2|
Response to: Error document
I was having this problem too and realized that you have to be root in order to save a file witha "." at the beginning. Now I just create a file called htaccess (without the dot in front of it) with all the necessary information in it, and through the terminal type "sudo mv htaccess .htaccess" and it renames it with the dot in front of it. I don't know if that's the easiest solution, but it's been working for me.