I'm running into an issue on Snow Leopard. I am just using the standard Apache2 that came with it but it doesn't seem to want to use my .htaccess file. Here is the appropriate part of my httpd.conf file:

<Directory />
  Options FollowSymLinks
  AllowOverride All AuthConfig
  Order deny,allow
  Deny from all

And here is my .htaccess file:

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

I'm sure I'm doing something stupid, but at this point, I just cant see it!

All it's doing is allowing me to not have the index.php file, this worked on Leopard and isn't working in Snow Leopard. What am I missing?

  • Questions about server configuration (such as Apache) are probably better suited for serverfault.com – Josh Hunt Oct 9 '09 at 20:53
  • oops! didn't even realize that existed! Should I just reask there or can you guys move it? – user13771 Oct 9 '09 at 21:26
  • Don't re-ask; it will be moved if people think it's required. – Arjan Oct 9 '09 at 21:59
  • Did you upgrade to SL, or is this another machine/new installation? – Arjan Oct 9 '09 at 22:01
  • And does any of the hints at superuser.com/questions/53303/… work for you? – Arjan Oct 9 '09 at 22:03

Do you have the apache mod_rewrite extension installed and enabled? It might have been removed/changed when you updated.

  • 1
    yep, mod_rewrite is loaded – user13771 Oct 9 '09 at 21:25

hey, I had the same problem on my new computer and I found out it is because Snow Leopard automatically created a new config under /etc/apache2/users/, so go ahead and change the content like:

<Directory "/Users/<username>/Sites/">
  Options FollowSymLinks Indexes MultiViews
  AllowOverride All
  Order allow,deny
  Allow from all

Hope this works for you.


Same prob here. My fix included both editing the "yourusername.conf" file as well as relaxing some of the similar restrictions about half way down the apache2/httpd.conf file.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy