Apache Web-Serving with Mac OS X: Part 2
Subject:   Error document
Date:   2002-01-18 04:23:31
From:   martino
Response to: Error document

Cool. Because at this time, I can't make any files starting with a period, which is what this .htaccess has. When I try to change such a file, I first have to make it visible, but doing that with Filebuddy (invisible flag) doesn't have any effect on its visibility. Saving the file doesn't work either, Mac OS X will report an error, claiming these are for system use only.
Some clever programmer might be able to write a small program that goes around these restrictions that changes the server to use a error.html document in the root.


Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Morbus Iff photo Error document
    2002-01-18 09:59:19  Morbus Iff | O'Reilly Author [View]


    You can make and save .htaccess files, but you have to turn on "ShowAllFiles" in the finder.plist file (I think that's the one). I have all the "how to do it manually" info on a different machine, but you may want to look into software products like Tweaker and other similar utilities on If you want the manual info, email me at

    With the setup I have now, I can see all files through my Finder view (including dot files) as well as save and edit them (assuming I have the right permissions).
    • Error document
      2002-01-25 12:14:06  haymaker [View]

      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.