Second problem with Zend Framework re-routing
Posted: Wed Feb 13, 2008 2:25 am
Hello
My drama is ZF for this week it seems. I made to work full default controllers:
http://house.bornforcode.com/index/index and
http://house.bornforcode.com/index/mesaj
But i have problems to make it work a module:
http://house.bornforcode.com/admin/index (a 500 error is triggered).
I add module in my application using the standard way:
And my htaccess file is looking:
Do you have any idea why this happens
? Thank you.
My drama is ZF for this week it seems. I made to work full default controllers:
http://house.bornforcode.com/index/index and
http://house.bornforcode.com/index/mesaj
But i have problems to make it work a module:
http://house.bornforcode.com/admin/index (a 500 error is triggered).
I add module in my application using the standard way:
Code: Select all
$front->setControllerDirectory(array(
'default'=> 'application/default/controllers',
'admin' => 'application/admin/controllers'
))
Code: Select all
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1