Jacque, thanks for sticking with me on this. This is the fix I came up with for for Windows 2003 server running IIS 6 (with help from
http://blogs.sun.com/gc/entry/configure ... h_perl_cgi).
1. Start the Internet Information Services (IIS) Manager from Window's Administrative Tools menu.
2. Select Web Service Extensions. Click Add New Web Service Extension.
3. Enter a descriptive Extension Name (such as "Zygodact CGI"), then enter the following string in the Required Files field (changing below for your specific directory):
C:\myCgi-bin\revolution.exe "%s" %s
You'll get a message about environment variables not being expanded.. just click ok.
Set Extension Status to Allowed, then click OK.
4. Expand the Web Sites directory in the IIS Manager and right-click on the Web Site you want Zygodact to work on (this is assuming there are multiple websites on the same server). Otherwise just right click on Default Website.
5. Select New | Virtual Directory.... Use the wizard to name/alias and specify the location of your CGI directory used in step 3 (e.g. C:\myCgi-bin\ ). The "Alias" is the name that can be directly referenced in a URL. So if you give it an alias of "cgi-bin" then your website address to this virtual directory would look like:
http://www.mywebsite/cgi-bin
6. On the Access Permissions page, ensure that Read, Run Scripts and Execute are enabled.
7. Right-click the new virtual directory you just created and select Properties. On the Virtual Directory tab click on the Configuration button.
8. On the Mappings tab select Add. You will now add a mapping to ensure that the .cgi extension is mapped to the revolution.exe interpreter specified above. (
Enter the same string in the Executable Path field as shown in step 3; e.g. C:\myCgi-bin\revolution.exe "%s" %s. Make sure the checkbox for
Script Engine is checked.
Now you should be able to test by going directly to the cgi file:
http://mywebsite/alias_name_given_in_step_5/hello.cgi
Oh.. one more
BIG thing that threw me off. Since this only runs with 3.5 or earlier engine, you have to use the engine located within version 3.5:
Revolution Studio/3.5.0-gm-2/Runtime/Windows/
You'll see a file called "Standalone", this is the engine. Someone may correct me here, but I had to to rename it from Standalone (with no extension) to revolution.exe to get it to work.