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
#!revolution on startup put "Content-Type: text/plain" & cr & cr put "Hello World!" end startup
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 "www.ahsoftware.net/cgi-bin/hello.cgi". 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.