<?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>Tue, 18 Jun 2013 03:10:28 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: Zend Framework URL Rewriting in IIS6]]></title>
      <guid>http://www.phpdeveloper.org/news/13539</guid>
      <link>http://www.phpdeveloper.org/news/13539</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/2009/11/16/zend-framework-url-rewriting-in-iis6/">posted a look</a> URL rewriting in IIS 6 (similar to mod_rewrite in Apache) without the <a href="http://www.iis.net/extensions/URLRewrite">URL_Rewrite</a> module that comes with IIS7.
</p>
<blockquote>
IIS6, which ships with Windows Server 2003 does not have this module though and guess which version my client's IT dept run? As usual, they wouldn't install ISAPI_Rewrite or one of the other solutions for me. In the past, I've simply written a <a href="http://akrabat.com/2008/06/03/zend-framework-urls-without-mod_rewrite/">new router</a> that creates URLs with normal GET variables, but this is ugly and I wanted better. One thing IIS6 does let you do is configure a URL to be called upon a 404 error, which then allows you to have "pretty" URLs and be able to route them.
</blockquote>
<p>
He walks you through the setup of the manager to create this 404 routing setup allowing a single script (an index.php) that uses an instance of the Zend_Controller_Request_Http component to grab the request and forward the page back out to the user's desired location.
</p>]]></description>
      <pubDate>Mon, 16 Nov 2009 11:47:33 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Aleksey Zapparov's Blog: How to handle unexistence controllers/actions with Zend_Controller]]></title>
      <guid>http://www.phpdeveloper.org/news/6525</guid>
      <link>http://www.phpdeveloper.org/news/6525</link>
      <description><![CDATA[<p>
As mentioned by the Zend Developer Zone in <a href="http://devzone.zend.com/node/view/id/1072">this post</a>, <i>Aleksey Zapparov</i> has posted a <a href="http://ixti-s.blogspot.com/2006/10/mvc-using-zend-framework-015-how-to.html">quick tutorial</a> on how to deal with a missing action and controller in your Zend Framework application.
</p>
<blockquote>
You can easily make them call indexController::noRouteAction() on unexistence controllers, but on unexistence actions they'll throw you an exception. So there is a way to change this - modify sources.
</blockquote>
<p>
His <a href="http://ixti-s.blogspot.com/2006/10/mvc-using-zend-framework-015-how-to.html">code</a> basicly watches for the exceptions that would be thrown from a missing action and handles then inside a try/catch. If things fail, the user gets shuttled off to the Error404 controller that dumps out the contents of the controller class.
</p>]]></description>
      <pubDate>Wed, 18 Oct 2006 10:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>
