| Article: |
Apache Web-Serving with Mac OS X: Part 2 | |
| Subject: | Error document | |
| Date: | 2002-01-16 13:59:23 | |
| From: | morbus | |
|
Response to: Error document
|
||
| Yup, I just finished the description and implementation of this for another article, to be published on O'Reilly. Be patient, grasshopper ;) ... | ||
Showing messages 1 through 3 of 3.
-
Error document
2002-01-18 04:23:31 martino [View]
-
Error document
2002-01-18 09:59:19 Morbus Iff |
[View]
Martino,
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 versiontracker.com. If you want the manual info, email me at morbus@disobey.com.
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.
-Chris



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.
Martino