[fpc-pascal] FCGI TRequest URI

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Fri Jun 6 12:08:36 CEST 2014


Στις 30/5/2014 1:09 μμ, ο/η Michael Van Canneyt έγραψε:
> 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 ?


Dimitrios Chr. Ioannidis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4261 bytes
Desc: Κρυπτογραφημένη υπογραφή S/MIME
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140606/44be668c/attachment.bin>

More information about the fpc-pascal mailing list