ModRewrite is described on the Apache page as the “Swiss Army Knife of URL manipulation”. So you can imagine my upset when it wasn’t working on my Mac. Luckily, all I had to do was a small config change to enable it.
To fix this I had to edit:
/private/etc/apache2/httpd.conf
and change it to allow override by .htaccess files.
Find the directory at around line number 194 - /Library/WebServer/Documents . Then change to:
...