Mod_Rewrite with Zend Framework

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Mod_Rewrite with Zend Framework

Post 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.
Post Reply