[Lazarus] fpweb fastcgi debug
Michael Van Canneyt
michael at freepascal.org
Fri Dec 24 12:07:24 CET 2010
On Fri, 24 Dec 2010, ik wrote:
> On Fri, Dec 24, 2010 at 01:46, waldo kitty <wkitty42 at windstream.net> wrote:
> On 12/23/2010 05:34, 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.
> - In Apache, set
> FastCgiExternalServer /path/to/server/url -host 127.0.0.1:201 -idle-timeout 30
> 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.
More information about the Lazarus