mod_rewrite rule - somewhat complex rule
Posted: Mon Jun 16, 2008 2:53 pm
I have a mod_rewrite rule that looks like this:
I need to make it redirect anything from /members/* to index.php and anything from anywhere else to /ss/(whatever was in the request uri goes here).
Does anybody know if this is possible or how I might be able to do it? Another problem will be getting the zend framework to remove /members/ before processing its routes.
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png)$ index.php
</IfModule>Does anybody know if this is possible or how I might be able to do it? Another problem will be getting the zend framework to remove /members/ before processing its routes.