[Lazarus] fpweb fastcgi debug

waldo kitty wkitty42 at windstream.net
Sat Dec 25 04:31:06 CET 2010


On 12/24/2010 04:41, ik wrote:
> On Fri, Dec 24, 2010 at 01:46, waldo kitty <wkitty42 at windstream.net
> <mailto:wkitty42 at windstream.net>> wrote:
>
>     On 12/23/2010 05:34, michael.vancanneyt at wisa.be
>     <mailto:michael.vancanneyt at wisa.be> 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
>         <http://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.

ok :)

> 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.

i imagine that "path to server" would be a URL (as indicated)... the host is 
separated from the url as one sees with "http://foo.bar/some/path" and only 
needs to specify "/some/path" since the host parameter carries the "foo.bar" 
portion...




More information about the Lazarus mailing list