Page 1 of 1

Mod_Rewrite with Zend Framework

Posted: Fri Nov 28, 2008 10:19 am
by DaveTheAve
I'm trying to rewrite /classifier/template to /classifier/App/View/

Code: Select all

 
Options +FollowSymlinks
 
RewriteEngine On
RewriteRule ^template/(.*) /classifier/App/View/$1
 
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /classifier/index.php [NC,L]
 
Any thoughts? Currently it's still redirecting to /classifier/index.php.