Showing posts with label cakephp. Show all posts
Showing posts with label cakephp. Show all posts

February 17, 2011

URL Rewriting On IIS/PHP Using PATH_INFO

IIS does not directly support URL rewriting. For this purpose you need extensions such as Helicon Tech ISAPI Rewrite, Ionic's Isapi Rewrite Filter or URL Rewrite Module for IIS 7.0. Without such extensions, PHP applications that capitalize on URL rewriting may work on IIS with not-so-clean URLs; or may not work at all. Yet some versatile applications can use PATH_INFO style clean URLs when mod_rewrite or its equivalent functionality is not available.

In the following article I will show you how to test and fix your PHP installation to make URLs containing PATH_INFO work as expected.