Cannot figure out why mod_rewrite isn't working
I just had to restore my iMac which runs OS X and had to reinstall Apache, PHP, and MySQL. I remember I had this problem when I first got it working a year ago and forget what was causing the problem. I'm using a mod_rewrite script to convert query strings to search engine friendly URLS (see below). I have mod_rewrite compiled into Apache (yes I restarted) and have Options and AllowOverride both set to All. Whenever I try to go to one of the URLs, it says the page could not be found.
Code:
RewriteEngine On RewriteRule ^([-a-z_]*)/?$ /index.php?section=$1 [L]