<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Mr. Bee, you could use stunnel in the meantime, and look into
implementing fcgi into simpleserver? :)</p>
<p>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.</p>
<p>Michael, neat, didn't know that was in there. Will have to check
it out.<br>
</p>
<p>Alex<br>
</p>
<div class="moz-cite-prefix">On 12/10/2018 6:08 AM, Michael Van
Canneyt wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.DEB.2.20.1812101206160.17066@home.telenet.be">
<br>
<br>
On Mon, 10 Dec 2018, Mr Bee via fpc-pascal wrote:
<br>
<br>
<blockquote type="cite">Hi all, Is there any open source,
maintained and updated HTTP server using
<br>
FPC out there? I need a lightweight HTTP server written in FPC
that
<br>
supports Linux/Unix, F/CGI app, and HTTPS. It'd be better if it
doesn't
<br>
need external or third-party units such as Indy or Synapse, but
only pure
<br>
FPC standard units such as fpHTTP* and fpWeb* units. Google
only gave me
<br>
some old (back to early 2000) and abandoned projects written in
Delphi
<br>
mixed with inline assembler and Windows' API, also don't support
HTTPS.
<br>
</blockquote>
<br>
FPC has a HTTP server. See the simpleserver demo under fcl-web.
<br>
<br>
It does not support https yet, but this is planned for the near
future.
<br>
(I expect to work on it between this Christmas and new year)
<br>
<br>
It does not support forwarding requests to (F)CGI but this is easy
enough to
<br>
add.
<br>
<br>
Michael.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
</body>
</html>