<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 19 Mar 2010 14:06:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ligaya Turmelle's Blog: Quick snip (or Zend Framework in a Subdirectory)]]></title>
      <guid>http://www.phpdeveloper.org/news/6835</guid>
      <link>http://www.phpdeveloper.org/news/6835</link>
      <description><![CDATA[<p>
As <i>Ligaya Turmelle</i> discovered when trying to work with the <a href="http://framework.zend.com">Zend Framework</a> 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.
</p>
<blockquote>
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.
</blockquote>
<p>
She <a href="http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/">includes the quick code</a> 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.
</p>]]></description>
      <pubDate>Wed, 06 Dec 2006 09:44:00 -0600</pubDate>
    </item>
  </channel>
</rss>
