News Feed
Jobs Feed
Sections




News Archive
Chris Jones' Blog:
Zend Framework .htacess and Multiple Controllers
September 06, 2010 @ 11:56:59

Chris Jones has a new post to his Oracle blog today about a situation he found himself in with his recent Zend Framework application. The issue popped up when he tried to use more than just the basic controller.

I've been using NetBeans with Frameworks recently. I had no problem when doing a single controller example in Zend Framework, so I knew everything was installed OK and mod_rewrite was "working" fine. But I would click a URL that should be routed to a second controller and see an error [about the requested URL not being found].

His solution was to add a new line to his .htaccess file so Apache knew where to start the rewrite from (instead of it being relative) - a RewriteBase path.

0 comments voice your opinion now!
zendframework htaccess controller issue


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Zend Framework in Action Pre-review

Rob Allen's Blog: A View Stream with Zend_View

Ralph Schindler's Blog: Composite Rowsets For Many-To-Many Relationships Via Zend_Db_Table

Rob Allen's Blog: Handling exceptions in a Front Controller plugin

Web & PHP Magazine: May 2013 Issue - "Time Travel"


Community Events











Don't see your event here?
Let us know!


zendframework2 community object language functional testing framework code interview example introduction release application series phpunit unittest tool podcast opinion development

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework