POV-Ray : Newsgroups : povray.off-topic : Simply CGI : Re: Simply CGI Server Time
7 Sep 2024 07:20:05 EDT (-0400)
  Re: Simply CGI  
From: Orchid XP v8
Date: 13 Sep 2008 07:06:57
Message: <48cb9ed1@news.povray.org>
>> 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

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