How to enable .htaccess files

Hopefully someone can give me a crash tutorial on:

1. How to enable .htaccess, .htlock etc. files on a MacOS X server.
2. How to see hidden files in the Finder.

Posted on Sep 16, 2005 4:47 AM

Reply
1 reply

Sep 16, 2005 6:33 AM in response to philaweb

Okay... Been fiddling a bit and I seem to have solved the first question myself.

To enable .htaccess files on Mac OS X Server 10.4 (the Tiger Server), do not make changes to /etc/httpd/httpd.conf expecting the AllowOverride All directive to work. The correct file to add the AllowOverride All directive is in the directory /etc/httpd/sites/. In that directory are the virtual host configuration files. Each virtual server has a configuration file in that directory (since Mac OS X Server is designed to host multiple web sites) so it is in those files that you must enable AllowOverride All.

Kewl ha? 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to enable .htaccess files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.