cgi.d - fastcgi - LightTPD is not cooperative
    Sycam_Inc via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Thu Oct  2 08:30:32 PDT 2014
    
    
  
On Thursday, 2 October 2014 at 14:17:42 UTC, Adam D. Ruppe wrote:
> On Thursday, 2 October 2014 at 13:53:48 UTC, Sycam_Inc wrote:
>> 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.
>
> What url did you use in the browser and what's your lighttpd 
> config look like? The program might be correct and the config 
> is just off.
Folders
C:\c - server folder
C:\c\cgi-bin - cgi folder
C:\c\cgi-bin\test.exe - cgi file
example url: loclahost\cgi-bin\test.exe
Relevent Config:
server.document-root = "C:\c"
fastcgi.debug = 1
fastcgi.server =
( "/cgi-bin/" =>
( "localhost" =>
(
"max-procs" => 1,
"bin-path" =>  server.document-root + "\cgi-bin\Test.exe --port 
9000" ,
"host" => "127.0.0.1",
"port" => 9000
)
)
)
p.s. lighttpd exits on the event of a fast-cgi process not 
starting
    
    
More information about the Digitalmars-d-learn
mailing list