[fpc-pascal] FCGI TRequest URI

Michael Van Canneyt michael at freepascal.org
Fri Jun 6 12:10:55 CEST 2014

On Fri, 6 Jun 2014, Dimitrios Chr. Ioannidis wrote:

> Hi,
> Στις 30/5/2014 1:09 μμ, ο/η Michael Van Canneyt έγραψε:
> <snip>
>> Normally, it should be read from the REQUEST_URI environment variable.
> AFAIU, the URI property of the TRequest in the HTTPDefs unit, get's it's 
> value from the command value when the fcgi app is started from web server .
> My problem is that, i'm using my fcgi app as an external cgi server, and in 
> this case the URI property is empty string. Investigating the fcgi protocol i 
> see the REQUEST_URI param and i can confirm that it exists in the FCGIParams 
> list.
> Do i miss something ?

No, it is a bug then. Please post a bug report.


More information about the fpc-pascal mailing list