News Feed
Sections




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

Rob Allen's Blog:
Zend Framework URLs without mod_rewrite
June 04, 2008 @ 12:50:16

Rob Allen has posted a new entry on getting a Zend Framework application to run correctly even though mod_rewrite (or ISAPI_Rewrite) isn't up and running.

Some of our Zend Framework applications have to run on IIS without ISAPI_Rewrite installed. In these cases we need urls of the form http://www.example.com/index.php?module=mod&controller=con&action=act. I couldn't get this to work out of the box with Zend Framework 1.5, so wrote my own router called App_Controller_Router_Route_RequestVars.

Most of the post is the code for the router (ready for you to cut and paste) but he's also included a usage example of it so you can easily update your bootstrap file to use it.

0 comments voice your opinion now!
zendframework url moderewrite isapirewrite router custom


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: One-to-Many Joins with Zend_Db_Table_Select

SitePoint PHP Blog: Data Validation in Laravel - Introduction & Custom Validators

Padraic Brady's Blog: Self-Contained Reusable Zend Framework Modules With Standardised Configurators

Matthew Weier O'Phinney's Blog: Pastebin app updates

Rob Allen's Blog: Zend Framework on a shared host


Community Events





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


interview zendserver conference series developer api list symfony framework tips introduction library deployment bugfix voicesoftheelephpant language laravel podcast release community

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