Page 1 of 1

Setting up a Rev CGI Environment on

Posted: Tue Apr 18, 2006 10:27 pm
by Lynn
Thanks to Mark Wieder of AhaSoftware for these instructions on setting up your account on to use Revolution as a CGI:

In your hosting space on Jaguarpc you will find a folder called public_html. This is where your web pages live.

Within that is a folder called cgi-bin. I took the "Linux" file from my "Revolution 2.6.1/components/engines" folder and copied it to the cgi-bin folder using my ftp client. Then I renamed it "revolution".

I then made the canonical "hello.cgi" test script file and placed it in the same cgi-bin folder.

Code: Select all


on startup
  put "Content-Type: text/plain" & cr & cr
  put "Hello World!"
end startup
Set the permissions of both files to 755 (I was using WS_FTP LE on Windows

Select the file, right-click to bring up a contextual menu, and select chmod, then clicked all three "execute" checkboxes).

Note: Jaguarpc uses linux servers. I created the test script on a Windows machine, so the line endings were wrong. I launched a web browser and pointed it to "". I got a server error, so I went back to the "hello.cgi" file, changed the line endings to be unix lf-only style, uploaded it again, and all was well.