note 71239 added to reserved.variables
| From: | NeoSmartTechnologies at osu1 dot php dot net | Date: | Sat, 18 Nov 2006 14:22:37 +0000 |
| Subject: | note 71239 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119850@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 66.163.161.117
Probable Submitter: 196.218.253.200 (proxied: 1.1 NEOSERVER)
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- https://master.php.net/note/edit/71239
Del: integrated -- https://master.php.net/note/delete/71239/integrated
Del: useless -- https://master.php.net/note/delete/71239/useless
Del: bad code -- https://master.php.net/note/delete/71239/bad+code
Del: spam -- https://master.php.net/note/delete/71239/spam
Del: non-english -- https://master.php.net/note/delete/71239/non-english
Del: in docs -- https://master.php.net/note/delete/71239/in+docs
Del: other reasons-- https://master.php.net/note/delete/71239
Reject -- https://master.php.net/note/reject/71239
Search -- https://master.php.net/manage/user-notes.php