POV-Ray : Newsgroups : povray.off-topic : Simply CGI : Re: Simply CGI Server Time
7 Sep 2024 07:20:55 EDT (-0400)
  Re: Simply CGI  
From: Vincent Le Chevalier
Date: 13 Sep 2008 06:38:45
Message: <48cb9835$1@news.povray.org>
Orchid XP v8 a écrit :
> Orchid XP v8 wrote:
> 
>> 2. It seems to be able to run CGI *scripts*, but not compiled, 
>> executable binary programs. I'm still frobbing the configuration file, 
>> but it's not looking good...
> 
> OK, *finally*...
> 
> Create a small file called Foo.cgi that simply contains the line
> 
>   #!Foo.exe
> 
> and *at last* the server does what I want it to!
> 
Apparently this server only checks the extensions of the files, so you 
could just rename Foo.exe to Foo.cgi I suppose. Or better still, launch 
shttpd with the appropriate option telling it that .exe are CGI files:

shttpd -cgi_ext "exe"

Seems to work on my linux box with any arbitrary extension...

-- 
Vincent


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.