|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |