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 έγραψε: 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 whe

Re: [fpc-pascal] FCGI TRequest URI

2014-06-06 Thread Dimitrios Chr. Ioannidis
Hi, Στις 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

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: and when i'm trying to get the uri with something like ARequest.URI it's always empty. The BaseURL, Host etc are ok. A

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: 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 to be

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 SetHandler fcgid-script Order allow,deny Allow from all ScriptAlias /test /path/cgi

[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 SetHandler fcgid-script Order allow,deny Allow from all ScriptAlias /test /path/cgi/dir/fpc-fcgi-app.fcgi and when i'm trying to get th