On Thursday, 2 October 2014 at 13:25:14 UTC, Adam D. Ruppe wrote:
Try running the program yourself with a port argument
yourprogram.exe --port 3000
for example, then have lighttpd configured to connect to that
port for the application. That's what I had to do for nginx on
Windows, lighttpd might be the same thing.
Ok That Worked, but the GenericMain never runs
module main;
//import std.stdio;
import arsd.cgi;
void Req(Cgi c)
{
new File("C:/c/a.text").write("hello");
c.write("This is a test");
c.close();
}
mixin GenericMain!(Req);
when running in the browser the page just continues to load and
the lighttpd console shows no output from it and it dosent write
anything in the file.