On Fri, 24 Dec 2010, ik wrote:



On Fri, Dec 24, 2010 at 01:46, waldo kitty <[email protected]> wrote:
      On 12/23/2010 05:34, [email protected] wrote:
            If you can use mod_fastcgi, then this will do it:

            - Run the fastcgi application, and explicitly set the port.
            Application.Port:=2015
            - In Apache, set
            FastCgiExternalServer /path/to/server/url -host 127.0.0.1:201 
-idle-timeout 30
            -flush


is there a typo in the above? port 2015 and port 201 ?? i'm guessing that they 
should be the same port??


Yes they must be the same port.

The only thing I do not understand is why FastCgiExternalServer require the 
path of the fastcgi server, if it can be a remote application and not local.

Simple: because it needs to know which URL to map on the fastcgi app.
for 'regular' fastcgi it knows this through the .fcgi extension of the filename. For external fastcgi, there is no filename, so Apache needs to be told which url(s) map to the external fastcgi server.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to