[fpc-pascal] Forum merger

Michael Van Canneyt michael at freepascal.org
Thu Dec 17 13:45:35 CET 2009

On Thu, 17 Dec 2009, Graeme Geldenhuys wrote:

> Michael Van Canneyt wrote:
>> The advantage of fpweb is that it doesn't matter whether you want to use
>> an apache module, plain cgi or fastcgi, or in a standalone server.
>> It works with all 4 types.
> That's good news!  Can you explain more about what you mean by "standalone
> server"? One of our lightweight apps we are thinking of is a simple
> executable with built-in HTTP Server support (no Apache or other full
> featured HTTP servers required) - is that what you mean by "standalone
> server"?  This 'lightweight' HTTP server application will be executed
> before the client access our CGI apps on localhost. I still have code lying
> around somewhere which is about 400 lines of code implementing a basic HTTP
> server that also supports CGI - it simply uses the available TCP support
> from FPC - no 3rd party components like INDY, lnet etc...

Joost van der sluis has developed a leightweight lnet server app, which 
you can use to debug the webserver modules. There is no reason why you could
not use it in a production environment. You could even use his code to
create a bridge between fpweb and your server app.


More information about the fpc-pascal mailing list