Jason P Sage schreef:
I used CGI for portability - but to counter the delay of loading
involved CGI executables - I created a very thin CGI client (50k on
Win32 - unfortunately - 250k+ on Linux - (something about the smart
linking isn't as good on linux).
<snip fastcgi mentioned several times>
My next two agendas are creating my own web server - possibly using the
sockets unit if I can see a working demo that runs on both linux and
win32. I'd prefer to the FPC RTL version "sockets"; second - I may go
full bore FastCGI, which is very clear on how its supposed to work - but
documentation is lacking for setting it up for non-php and non-ruby
solutions (I'll figure it out eventually).
FastCGI seems the right way to go - but I've yet to get one of the
FastCGI programs - like echo or threaded to actually return something in
a browser after much configuration experiments.
Wish me well and thanx for your advice.
To give you a headstart, you might want to look at fphttpd. It is a side project of
lNet (See http://wiki.lazarus.freepascal.org/lNet) and is a http server written by
Micha Nelissen with fpc and supporting fastcgi.
Vincent
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel