[fpc-pascal] FPC-based http/s server
Alexander Grotewohl
alex at dcclost.com
Tue Dec 11 00:37:14 CET 2018
Mr. Bee, you could use stunnel in the meantime, and look into
implementing fcgi into simpleserver? :)
What's your objective? Small servers like mini_httpd can be made to run
freepascal binaries with little fuss, and would be sufficient for
everything up until professional usage. At which point I would advise
using apache or nginx anyways.
Michael, neat, didn't know that was in there. Will have to check it out.
Alex
On 12/10/2018 6:08 AM, Michael Van Canneyt wrote:
>
>
> On Mon, 10 Dec 2018, Mr Bee via fpc-pascal wrote:
>
>> Hi all, Is there any open source, maintained and updated HTTP server
>> using
>> FPC out there? I need a lightweight HTTP server written in FPC that
>> supports Linux/Unix, F/CGI app, and HTTPS. It'd be better if it doesn't
>> need external or third-party units such as Indy or Synapse, but only
>> pure
>> FPC standard units such as fpHTTP* and fpWeb* units. Google only
>> gave me
>> some old (back to early 2000) and abandoned projects written in Delphi
>> mixed with inline assembler and Windows' API, also don't support HTTPS.
>
> FPC has a HTTP server. See the simpleserver demo under fcl-web.
>
> It does not support https yet, but this is planned for the near future.
> (I expect to work on it between this Christmas and new year)
>
> It does not support forwarding requests to (F)CGI but this is easy
> enough to
> add.
>
> Michael.
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181210/85ad28e3/attachment.html>
More information about the fpc-pascal
mailing list