fpc-pascal@lists.freepascal.org

2012-07-22 Thread leledumbo
I have a web app that works fine with embedded http server, but due to its current bugs, I need to switch to something more reliable. So I choose FastCGI and a great web server for this so far is Nginx for me. This is the configuration for my web: server { listen 80; index /index/ho

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-22 Thread Michael Van Canneyt
On Sun, 22 Jul 2012, Mattias Gaertner wrote: On Wed, 18 Jul 2012 17:15:20 +0200 (CEST) michael.vancann...@wisa.be wrote: [...] I meant the SimpleIPC unit from the FCL: http://lazarus-ccr.sourceforge.net/docs/fcl/simpleipc/index.html Is there a simple two way IPC? It seems the '/tmp' direc

fpc-pascal@lists.freepascal.org

2012-07-22 Thread Michael Van Canneyt
On Sun, 22 Jul 2012, leledumbo wrote: I have a web app that works fine with embedded http server, but due to its current bugs, I need to switch to something more reliable. Please report any bugs you find. I know of only 1 bug that is connected to reliability. So I choose FastCGI and a gr

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-22 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sun, 22 Jul 2012, Mattias Gaertner wrote: On Wed, 18 Jul 2012 17:15:20 +0200 (CEST) michael.vancann...@wisa.be wrote: [...] I meant the SimpleIPC unit from the FCL: http://lazarus-ccr.sourceforge.net/docs/fcl/simpleipc/index.html Is there a simple two way IPC?

fpc-pascal@lists.freepascal.org

2012-07-22 Thread leledumbo
> Please report any bugs you find. I know of only 1 bug that is connected to reliability. I would, but the error is intermittent and it's difficult to create a test program that always generates the bug. > Module/action syntax depends on how the PATHINFO variable is passed to the > CGI/FastCGI s

fpc-pascal@lists.freepascal.org

2012-07-22 Thread leledumbo
It's indeed nginx fastcgi configuration issue, I've managed to make it work somehow by reading its documentation. Thanks :) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Nginx-FastCGI-and-module-action-vs-module-module-action-action-tp5710411p5710416.html Sen

fpc-pascal@lists.freepascal.org

2012-07-22 Thread Luiz Americo Pereira Camara
Em 22/7/2012 18:49, leledumbo escreveu: It's indeed nginx fastcgi configuration issue, I've managed to make it work somehow by reading its documentation. Thanks :) Can you post your config here so we can also learn how to configure nginx? Luiz _

fpc-pascal@lists.freepascal.org

2012-07-22 Thread leledumbo
Basically I just have to add this: http://wiki.nginx.org/HttpFastcgiModule#fastcgi_split_path_info location / { fastcgi_split_path_info ^((?U).+www.tkd1depok.org)(/?.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED$document_roo

fpc-pascal@lists.freepascal.org

2012-07-22 Thread waldo kitty
On 7/22/2012 03:39, leledumbo wrote: I have a web app that works fine with embedded http server, but due to its current bugs, I need to switch to something more reliable. So I choose ummm what is "its" in "its current bugs"?? the embedded http server or?? i'm going to guess the embedded http s

fpc-pascal@lists.freepascal.org

2012-07-22 Thread Luiz Americo Pereira Camara
Em 22/7/2012 21:46, leledumbo escreveu: Basically I just have to add this: http://wiki.nginx.org/HttpFastcgiModule#fastcgi_split_path_info location / { fastcgi_split_path_info ^((?U).+www.tkd1depok.org)(/?.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcg