I have the following directory structure for my "Hello World" ZendFramework
MVC app.

/(www directory)
  zf-tutorial/
    application/
    controllers/
      FooController.php
      IndexController.php
    models/
    views/
      scripts/
        foo/
          bar.phtml
        index/
          index.phtml
          add.phtml
    index.php
    .htaccess (Contents - RewriteEngine on RewriteRule
!\.(js|ico|gif|jpg|png|css)$ index.php)

If I navigate to: http://my-site.com/zf-tutorial then I see the results from
the index controller and action

However if I navigate to: http://my-site.com/zf-tutorial/foo/bar then I get
a 404 error.  It seems that the .htaccess file is not rerouting like it
should.  Is there something that I am missing?

Thanks,
Cory


-- 
View this message in context: 
http://www.nabble.com/htaccess-problem---routing-requests-tf4336762s16154.html#a12352645
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to