Rob Allen’s Blog: Zend Framework URL Rewriting in IIS6

Almost all Zend Framework tutorials suppose that reader is using Apache webserver with mod_rewrite module. For those who work with II6, without ISAPI_Rewrite module, Rob Allen wrote post about  setting up URL rewriting for Zend Framework.

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 new router that creates URLs with normal GET variables, but this is ugly and I wanted better.

Rob shows how to configure the server to call single script, index.php, upon 404 error and use his request class to grab request and forward back to desired location.