Re: [fpc-pascal] FCGI TRequest URI

2014-06-06 Thread Dimitrios Chr. Ioannidis
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

Re: [fpc-pascal] FCGI TRequest URI

2014-06-06 Thread Michael Van Canneyt
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

[fpc-pascal] FCGI TRequest URI

2014-05-30 Thread Dimitrios Chr. Ioannidis
Hi, i'm trying to find out why the TRequest.URI property always return empty string in my setup. I have configured the web server apache like this Directory /path/cgi/dir SetHandler fcgid-script Order allow,deny Allow from all /Directory ScriptAlias /test

Re: [fpc-pascal] FCGI TRequest URI

2014-05-30 Thread Michael Van Canneyt
On Fri, 30 May 2014, Dimitrios Chr. Ioannidis wrote: Hi, i'm trying to find out why the TRequest.URI property always return empty string in my setup. I have configured the web server apache like this Directory /path/cgi/dir SetHandler fcgid-script Order allow,deny Allow from all

Re: [fpc-pascal] FCGI TRequest URI

2014-05-30 Thread Dimitrios Chr. Ioannidis
Hi, Στις 30/5/2014 12:57 μμ, ο/η Michael Van Canneyt έγραψε: On Fri, 30 May 2014, Dimitrios Chr. Ioannidis wrote: snip and when i'm trying to get the uri with something like ARequest.URI it's always empty. The BaseURL, Host etc are ok. Any hints ? Nope. Seems like something that needs

Re: [fpc-pascal] FCGI TRequest URI

2014-05-30 Thread Michael Van Canneyt
On Fri, 30 May 2014, Dimitrios Chr. Ioannidis wrote: Hi, Στις 30/5/2014 12:57 μμ, ο/η Michael Van Canneyt έγραψε: On Fri, 30 May 2014, Dimitrios Chr. Ioannidis wrote: snip and when i'm trying to get the uri with something like ARequest.URI it's always empty. The BaseURL, Host etc are