How to setup D language with Apache httpd cgi?

Andre Pany andre at s-e-a-p.de
Wed Jul 31 13:13:21 UTC 2019


On Wednesday, 31 July 2019 at 12:51:09 UTC, Adam D. Ruppe wrote:
> On Wednesday, 31 July 2019 at 09:09:12 UTC, BoQsc wrote:
>>>	dependency "arsd-official" version="~>4.0.1"
>
> I just changed the thing, so now you will want to use version 
> 4.0.2 and also require the cgi configuration rather than the 
> default (I don't know how to do that in dub).
>
> Though personally, when I do cgi stuff in D, I don't bother 
> with rdmd or dub or whatever, I just compile the program 
> separately and copy the binary in to the cgi directory. It is 
> more efficient and simpler to handle in error cases.

/+ dub.sdl:
     name "application"
     dependency "arsd-official:cgi" version="4.0.2"
     subConfiguration "arsd-official:cgi" "cgi"
+/

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list