View Single Post
  #12 (permalink)  
Old 06-05-2008, 01:31 AM
cjh79 cjh79 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Default

I'm having the same problem here. .htaccess:

Code:
RewriteEngine on
RewriteBase /
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
Controller is in AccountController.php (same dir as IndexController.php):

Code:
class AccountController extends Zend_Controller_Action {
    public function indexAction() {
    $this->view->title = "User profile";
  }
  ...<more actions here>...
}
Things work fine with the index controller. /index/test works fine, for example. But AccountController doesn't. /account/login gives me a 404, for instance.

Since /index/<action> is working, this seems to indicate that the rewrite is working, right? What else could be going on? It's driving me nuts.
Reply With Quote