[thelist] Setting up Apache on Mac OS X 10.5.2
Jeffrey Barke
jeffrey.barke at themechanism.com
Fri May 9 16:12:16 CDT 2008
I spent the day setting up Apache, PHP 5, and MySQL 5 on my Mac for
the first time. Everything went well save for one thing: getting
Apache to see .htaccess files.
Now, I figured this would be easy to do, since there are a ton of blog
posts and threads on it (including one by PPK on thelist), however it
doesn't work and I've spent the last two hours on what (it seems to
me) should be a two minute problem.
System: Mac OS X 10.5.2
The httpd.conf is located in /etc/apache2/
The .htaccess file will be in /Library/WebServer/Documents/sites/, so /
etc/apache2/users/ *.conf shouldn't be a problem.
Here's what I have:
DocumentRoot "/Library/WebServer/Documents/sites"
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
<Directory "/Library/WebServer/Documents/sites">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Any ideas why this doesn't work?
Thanks,
Jeffrey
—
Jeffrey Barke
Senior developer / information architect
theMechanism
New York
440 9th Avenue
8th Floor
New York, NY 10001-1631
e: jeffrey.barke at theMechanism.com
w: http://theMechanism.com
t: +1 212 404 3150
f: +1 212 404 3228
—
theMechanism is a multi-disciplinary design agency with offices in New
York, London and Durban, South Africa.
More information about the thelist
mailing list