News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Web Builder Zone: Zend_Test for Acceptance TDD

Padraic Brady's Blog: Chapters One and Two of "Zend Framework: Surviving the Deep End" Book Released

Greg Beaver\'s Blog: Protecting a MySQL user/password in a PHP script

Matthew Weir O'Phinney's Blog: NYPHP Zend Framework Presentation

Dave Marshall's Blog: ZFSnippets.com update


Community Events

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


php7 laravel library voicesoftheelephpant example podcast community opinion symfony2 api interview application version release introduction framework extension series conference performance

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