getting cgi running on linux server

Björnke von Gierke bvg at mac.com
Wed Mar 14 21:47:43 EDT 2007


Hi Robert

You might try to check some of these things:

1. Does the Server/Host allow the use of third party CGI engines?
2. Does your Hello.cgi file also have execute permissions?
3. Is the first line of your Hello.cgi text file correct? (Should be 
"#!something" if your executable's name is "something")
4. The link you mentioned creates a tar file, which is a way to allow 
multiple files inside one tgz (unlike zip, which can contain many 
files). You need a program to untar the files. However, that is the 
full Linux distribution, and you only want the engine, so I would 
suggest you check out the following link:
ftp://ftp.runrev.com/pub/revolution/downloads/engines
Some engines won't work, if i remember correctly the 2.5.1 version did 
run for me when i tried it a long time ago. So I would suggest you try 
that one first.

I think these should keep you covered. As for me, this reminds me once 
again of the glaring lack of proper documentation/ressources by RunRev 
regarding CGI scripting.
I wrote a short explanation of CGI's myself, of course it can't match 
Jacque's article, but if you want to read it, you can find it here:
http://bjoernke.com/runrev/cgi.php
In addition to the content on her companies webpage, there's also three 
newsletter entries about CGI's by Jacqueline:
http://www.runrev.com/newsletter/july/issue4/newsletter2.html
http://www.runrev.com/newsletter/july/issue5/newsletter2.html
http://www.runrev.com/newsletter/august/issue6/newsletter2.html

Have a nice Revolution
Björnke

On Mar 15 2007, at 01:46, Robert Mann wrote:

> I am trying to get cgi's working on my web server
>
> I created the hello.cgi from Jacque's article using metapad which 
> allows me
> to set the correct line endings for unix.
>
> Jacque sent me a link to download the linux engine I then used winzip 
> to
> extract I only got one file so I tried powerarchiver and that also 
> gave me
> one file should I be getting more than one file from the
> <http://downloads.runrev.com/revolution/distributions/2.5.1/linux.tgz>
>
> I put this file in the cgi-bin changed the permissions but I still get 
> a 500
> error
>
> I am working on a windows xp machine locally
>
>
>
> Anyone have any ideas as to shat I need to do to get this working?
>
>
>
> Thanks
>
> Rob
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list