News Feed
Sections




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

Ligaya Turmelle's Blog:
Quick snip (or Zend Framework in a Subdirectory)
December 06, 2006 @ 09:44:00

As Ligaya Turmelle discovered when trying to work with the Zend Framework in a subdirectory, it doesn't want to play nice. After poking around a bit, though, she discovered a solution in the Zend_Controller_RewriteRoute package.

I am using a subfolder of web root to play with the ZF and was having troubles getting my controller to go to the correct place. After considering hacking both the Apache doc root and the actual Zend_Controller_Router code and writing a patch, I stumbled on the answer - Zend_Controller_RewriteRouter.

She includes the quick code that acts as a patch for the framework, letting it know that the directory it should be rewriting to isn't the root of the domain.

0 comments voice your opinion now!
zend framework subdirectory rewriterouter rewritebase router zend framework subdirectory rewriterouter rewritebase router


blog comments powered by Disqus

Similar Posts

AskAboutPHP.com: Codeigniter: Mixing segment-based URL with querystrings

Sanisoft Blog: Radio button issues while migrating from cakePHP-1.2alpha app to 1.2prebeta

Zend Developer Zone: Zend Conference Case Studies Wanted!

Project: Patchwork-Doc - JSON Formatted Output of PHP variables

Mike Naberezny\'s Blog: Optimizing Zend Studio on Mac OS X


Community Events





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


configure series release threedevsandamaybe symfony unittest framework introduction version language community laravel api composer list conference podcast voicesoftheelephpant opinion interview

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