|
![](/i/fill.gif) |
>> 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.
I tried that, but it doesn't work. If it's .cgi, it "checks the first
line of text to determine what interpretter to run".
> Or better still, launch
> shttpd with the appropriate option telling it that .exe are CGI files:
>
> shttpd -cgi_ext "exe"
Also tried that and it didn't work.
The hack above does, however, work.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |