My vhost:
Options +Indexes +FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
.htaccess:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)/([^/]*)$ /?id=$1&v=$2 [L]
</IfModule>
My urls look like this
http://hatchpass.local/?id=fbb43&v=minimal
mod_rewrite is enabled in Apache and I've confirmed it is loading, however, when I try something like http://hatchpass.local/fbb43 I get 404'd.
Thoughts?
The regular expression in your RewriteRule
matches foo/bar
. The URL ("http://hatchpass.local/fbb43") doesn't apply to that. It's simply incoming as "fbb43".