I'm trying to get a PHP routing library set up. They give this example for a .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
I couldn't get this to work, so I tried enabling mod_rewrite, but it says "Module rewrite already enabled".
Why is it not working properly? Thanks! I'm running Ubuntu Precise 12.04, and apache2.2.22. (Checked for any updates)
EDIT: A couple more details, it's a PuPHPet vagrant build, rewrite should be enabled.