<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Zend Framework URL Rewriting in IIS6</title>
	<atom:link href="http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Tue, 13 Mar 2012 12:47:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: TooDiesel</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-82910</link>
		<dc:creator>TooDiesel</dc:creator>
		<pubDate>Thu, 13 Oct 2011 16:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-82910</guid>
		<description>Thanks so much for posting this, some godaddy servers have mangled $_POST and $_GET vars and this at least gets me my $_POST vars...</description>
		<content:encoded><![CDATA[<p>Thanks so much for posting this, some godaddy servers have mangled $_POST and $_GET vars and this at least gets me my $_POST vars...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-44305</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Thu, 02 Dec 2010 20:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-44305</guid>
		<description>Drake,

I&#039;ve never used Zend_Amf, so I have no idea.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Drake,</p>
<p>I've never used Zend_Amf, so I have no idea.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drake</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-44304</link>
		<dc:creator>Drake</dc:creator>
		<pubDate>Thu, 02 Dec 2010 20:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-44304</guid>
		<description>Is this approach meant to work with Zend_Amf?  I get NetConnection.Call.BadVersion errors on my AMF requests.</description>
		<content:encoded><![CDATA[<p>Is this approach meant to work with Zend_Amf?  I get NetConnection.Call.BadVersion errors on my AMF requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43086</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 09 Nov 2010 19:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43086</guid>
		<description>current error:

Notice: Undefined index: frontController in C:\Inetpub\wwwroot\application\Bootstrap.php on line 10

Fatal error: Uncaught exception &#039;Zend_Controller_Exception&#039; with message &#039;Invalid request class&#039; in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php:454 
Stack trace: 
#0 C:\Inetpub\wwwroot\application\Bootstrap.php(10): Zend_Controller_Front-&gt;setRequest(NULL) 
#1 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(666): Bootstrap-&gt;_initIis404RequestObject() 
#2 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(619): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource(&#039;iis404requestob...&#039;) 
#3 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) 
#4 C:\Inetpub\wwwroot\library\Zend\Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL) 
#5 C:\Inetpub\wwwroot\public\index.php(25): Zend_Application-&gt;bootstrap() 
#6 {main} thrown in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php on line 454</description>
		<content:encoded><![CDATA[<p>current error:</p>
<p>Notice: Undefined index: frontController in C:\Inetpub\wwwroot\application\Bootstrap.php on line 10</p>
<p>Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'Invalid request class' in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php:454<br />
Stack trace:<br />
#0 C:\Inetpub\wwwroot\application\Bootstrap.php(10): Zend_Controller_Front-&gt;setRequest(NULL)<br />
#1 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(666): Bootstrap-&gt;_initIis404RequestObject()<br />
#2 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(619): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource('iis404requestob...')<br />
#3 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL)<br />
#4 C:\Inetpub\wwwroot\library\Zend\Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL)<br />
#5 C:\Inetpub\wwwroot\public\index.php(25): Zend_Application-&gt;bootstrap()<br />
#6 {main} thrown in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php on line 454</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43085</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 09 Nov 2010 19:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43085</guid>
		<description>Still no dice. I am sorry to be such a pain. I basically just copied and pasted your code into files in my application. I really like this solution but it doesn&#039;t seem I can get it working.</description>
		<content:encoded><![CDATA[<p>Still no dice. I am sorry to be such a pain. I basically just copied and pasted your code into files in my application. I really like this solution but it doesn't seem I can get it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43084</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 09 Nov 2010 19:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43084</guid>
		<description>Mike,

You need an:
&lt;pre class=&quot;phpcode&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$options&#160;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&#160;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$this&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;getOptions&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
in your _initIis404RequestObject() method.

Rob...</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>You need an:</p>
<pre class="phpcode"><span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getOptions</span><span style="color: #007700">();</span>
</pre>
<p>in your _initIis404RequestObject() method.</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43082</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 09 Nov 2010 18:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43082</guid>
		<description>class Bootstrap extends exend_Application_Bootstrap_Bootstrap
{
    function _initIis404RequestObject()
    {
        $this-&gt;bootstrap(&#039;frontController&#039;);
        $frontController = $this-&gt;getResource(&#039;frontController&#039;);
        $frontController-&gt;setRequest($options[&#039;frontController&#039;][&#039;requestClass&#039;]);  
    }

}</description>
		<content:encoded><![CDATA[<p>class Bootstrap extends exend_Application_Bootstrap_Bootstrap<br />
{<br />
    function _initIis404RequestObject()<br />
    {<br />
        $this-&gt;bootstrap('frontController');<br />
        $frontController = $this-&gt;getResource('frontController');<br />
        $frontController-&gt;setRequest($options['frontController']['requestClass']);<br />
    }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43081</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 09 Nov 2010 18:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43081</guid>
		<description>BTW the path to the App_Controller_Request_Iis404 class is library\App\Controller\Request\Iis404.php

Here is my bootstrap.php:

bootstrap(&#039;frontController&#039;);
        $frontController = $this-&gt;getResource(&#039;frontController&#039;);
        $frontController-&gt;setRequest($options[&#039;frontController&#039;][&#039;requestClass&#039;]);  
    }

}</description>
		<content:encoded><![CDATA[<p>BTW the path to the App_Controller_Request_Iis404 class is library\App\Controller\Request\Iis404.php</p>
<p>Here is my bootstrap.php:</p>
<p>bootstrap('frontController');<br />
        $frontController = $this-&gt;getResource('frontController');<br />
        $frontController-&gt;setRequest($options['frontController']['requestClass']);<br />
    }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43080</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 09 Nov 2010 18:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43080</guid>
		<description>Rob,

I changed to autoloadernamespaces[] = &quot;App_&quot;
and that doesn&#039;t work either. I am getting the following error:


Notice: Undefined variable: options in C:\Inetpub\wwwroot\application\Bootstrap.php on line 9

Fatal error: Uncaught exception &#039;Zend_Controller_Exception&#039; with message &#039;Invalid request class&#039; in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php:454 Stack trace: #0 C:\Inetpub\wwwroot\application\Bootstrap.php(9): Zend_Controller_Front-&gt;setRequest(NULL) #1 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(666): Bootstrap-&gt;_initIis404RequestObject() #2 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(619): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource(&#039;iis404requestob...&#039;) #3 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\Inetpub\wwwroot\library\Zend\Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL) #5 C:\Inetpub\wwwroot\public\index.php(25): Zend_Application-&gt;bootstrap() #6 {main} thrown in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php on line 454</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>I changed to autoloadernamespaces[] = "App_"<br />
and that doesn't work either. I am getting the following error:</p>
<p>Notice: Undefined variable: options in C:\Inetpub\wwwroot\application\Bootstrap.php on line 9</p>
<p>Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'Invalid request class' in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php:454 Stack trace: #0 C:\Inetpub\wwwroot\application\Bootstrap.php(9): Zend_Controller_Front-&gt;setRequest(NULL) #1 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(666): Bootstrap-&gt;_initIis404RequestObject() #2 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(619): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource('iis404requestob...') #3 C:\Inetpub\wwwroot\library\Zend\Application\Bootstrap\BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL) #4 C:\Inetpub\wwwroot\library\Zend\Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract-&gt;bootstrap(NULL) #5 C:\Inetpub\wwwroot\public\index.php(25): Zend_Application-&gt;bootstrap() #6 {main} thrown in C:\Inetpub\wwwroot\library\Zend\Controller\Front.php on line 454</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/zend-framework/zend-framework-url-rewriting-in-iis6/#comment-43078</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 09 Nov 2010 18:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=798#comment-43078</guid>
		<description>Mike,

Sorry, I did mean [production].

The correct key is an array:

&lt;pre class=&quot;phpcode&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;autoloadernamespaces&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]&#160;=&#160;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;App_&quot;&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

not&lt;tt&gt;autoloadernamespaces.app = &quot;App_&quot;&lt;/tt&gt;

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Sorry, I did mean [production].</p>
<p>The correct key is an array:</p>
<pre class="phpcode"><span style="color: #0000BB">autoloadernamespaces</span><span style="color: #007700">[]&nbsp;=&nbsp;</span><span style="color: #DD0000">"App_"</span>
</pre>
<p>not<tt>autoloadernamespaces.app = "App_"</tt></p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
</channel>
</rss>

