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.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to