Great. Glad to "nano help" . Cheers holo
2009/7/17 Matthew Weier O'Phinney <[email protected]> > -- holografix . <[email protected]> wrote > (on Friday, 17 July 2009, 12:08 PM +0100): > > Appendix D. Recommended Project Structure for Zend Framework MVC > Applications > > > > D.4.1.2. Rewriting within a .htaccess file > > > > Below is a sample .htaccess file that utilizes mod_rewrite. It is similar > to > > the virtual host configuration, except that it > > specifies only the rewrite rules, and the leading slash is omitted from > > index.php. > > > > RewriteEngine On > > RewriteCond %{REQUEST_FILENAME} -s [OR] > > RewriteCond %{REQUEST_FILENAME} -l [OR] > > RewriteCond %{REQUEST_FILENAME} -d > > RewriteRule ^.*$ - [NC,L] > > RewriteRule ^.*$ /index.php [NC,L] <------- > > > > In the example the slash is present. > > Ooops! My bad for a bad cut-and-paste. Updated in trunk now. > > -- > Matthew Weier O'Phinney > Project Lead | [email protected] > Zend Framework | http://framework.zend.com/ >
