note 71239 deleted from reserved.variables by cmb

From: Date: Tue, 05 Nov 2019 11:35:20 +0000
Subject: note 71239 deleted from reserved.variables by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212917@lists.php.net to get a copy of this message
Note Submitter: NeoSmart Technologies ---- The *only* way to make Request_URI work as a 100% Apache-Compliant server variable on IIS/Windows is to use an Isapi Filter - as documented at http://neosmart.net/blog/archives/291 . The various steps mentioned below *completely* fail when a rewrite engine is employed, since IIS will *never* return a non-existent path (i.e. the actual pretty-URI used) via its server variables. This also applies to accessing index.php via a folder. For instance, calls made to /folder/ will appear as /folder/index.php and not /folder/. The fix is to use the ISAPI filter provided at http://neosmart.net/blog/archives/291 You don't have to modify any of the actual scripts once this filter is in place - it automatically intercepts calls to REQUEST_URI and replaces them with the actual user-entered path.

« previous php.notes (#212917) next »