So, i've got this Zend style frontcontroller set up. Basically it just redirects every url back to index.
The urls are in the form of /controller/view/ + [additional parameters]
I would like to create some shortcuts in the following form:
RewriteRule ^home /home/index
RewriteRule ^products /products/view
RewriteRule .* index.php
However, mod_rewrite seems to be ignoring my rewrite rules. It doesn't alter home to home/index, even though i'm fairly certain that it should be able to catch that bit. So, i'm thinking it has got something to do with renaming request uri?
Here's the .htaccess file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^admin/ - [L]
RewriteRule ^media/ - [L]
RewriteRule ^home home/index
RewriteRule ^products products/view
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php