[Xitami] REQUEST_URI

Ervin Kosch xitami@lists.xitami.org
Tue, 02 Jul 2002 11:23:15 -0400


$REQUEST_URI is not a standard HTTP 1.1 enviromental varible. Its only 
used in Apache 1.21 and above(see http://www.apache.org).

Try $SCRIPT_NAME or $PATH_TRANSLATED in it's place. You might have more 
luck with these.

Also, below are some links to to similar problems with the varible:

http://www.object-craft.com.au/projects/albatross/albatross/tug-content1.html
http://www.phpbuilder.com/forum/archives/5/2001/12/3/23977
http://forums.mercuryboard.com/index.php?a=topic&t=773



Joop van der Star wrote:

> To Xitami list,
>
> I use Xitami on a Win98 system in order to run a PHP application 
> called SDMS
> (simple Document Management System).
> After a lot of learning (PHP, MySQL and Xitami) the applications runs. 
> There
> is only one part that doesn't work an that is the download function, where
> you can download a document that is listed in SDMS, There is a server
> variable called $REQUEST_URI that has no value.
> I guess that one need some kind of confuguration setting within Xitami.
>
> Does anyone know a solution to this problem.
>
> I use SDMS version 1.1.4, PHP version 4.2.1 an dXitami version 2.5b
>
> m.vr.gr. Joop van der Star, j.vanderstar@library.uu.nl
> tel. (+31)(0)30 253 6624, fax. 253 9292
> ------------------------------------------------------------------------
> Universiteitsbibliotheek Utrecht, Postbus 16007, 3500 DA Utrecht
> =========================================================================