CGI on Win servers?

Dave Cragg dave.cragg at lacscentre.co.uk
Wed Feb 11 06:34:10 EST 2009


On 11 Feb 2009, at 09:37, jbv wrote:

>
>
> Richard ,
>
>> I've only used the Rev engine on Linux and BSD, never on Windows  
>> servers
>> yet.
>>
>> Anything tricky about using it on Win as a CGI, or should it be  
>> about as
>> straightforward as on Linux?
>>
>> --
>
> The only time I used Rev cgi on a Win server, it was as easy and  
> straightforward
> as on Linux, except that I never managed to interface it with mySQL  
> and had to
> write 2 short PHP scripts for that...

My experience was pretty straightforward too. (A lot easier than on OS  
X) But I had to use a special engine version. At that time distributed  
by Metacard, and I think it was about engine version 2.4 in terms of  
functionality. I don't know if Rev distributes an up-to-date version  
of this, or whether the normal engine can be used these days.

Below are some old instructions I wrote for setting it up. (In this  
case, the executable was named cmc.exe)

> It [the folder where you place the scripts] should be set as a  
> "virtual folder" under IIS. The "execute permissions" should be set  
> appropriately to allow script execution. The ".mt" extension should  
> be configured to map to the cgi executable (see below). Under IIS,  
> the "executable path" for the cgi engine should be set like this  
> (but the path will depend on where you locate the cmc.exe engine):
>
> C:\mc_cgi\cmc.exe %s %s
>
> You can "limit" the verbs to "GET,POST".

Cheers
Dave



More information about the use-livecode mailing list