If it was using the rewritten URI, it would use be using index.php. I think you should add a custom route or use:
RewriteRule ^/bar/echo /foo/echo [N] I'm not sure it would work though, you should try for yourself. http://httpd.apache.org/docs/2.2/en/mod/mod_rewrite.html#rewriterule Vincent de Lau [email protected] > -----Original Message----- > From: howard chen [mailto:[email protected]] > Sent: Tuesday, September 22, 2009 3:18 PM > To: Zend Framework General > Subject: [fw-general] mod_rewrite and Zend Framework > > Hello, > > I have a zend framework which has the following path: > > http://www.example.com/foo/echo > > > > But in the apache mod_rewrite, I want to rewrite something like > > http://www.example.com/bar/echo > > RewriteRule ^/bar/echo /foo/echo > > ... > other ZFW rewrite rule > ... > > > ZFW keep saying bar is not a valid controller. > > It seems that ZFW is using Apache REQUEST_URI for routing, not the > rewritten uri, isn't? > > > If yes, how to solve? > > Thanks.
