revdev at pdslabs.net
Wed Mar 26 17:43:02 EDT 2008
If you got the following back from your uploaded script without
uploading a Rev engine, then it looks like your script is working as is
and apparently your web host has taken care of the Rev engine part.
That's my take.
Thomas McGrath III wrote:
> After the recent articles in the REV newsletter I have been trying to
> learn how to use REV in CGI calls. I have had some success on my local
> machine using revHTTP and am now trying to figure out how to get this
> on my remote server. The server is on MacHighway and they have set up
> a cgi-bin for me.
> I am wondering which engine do I upload and how can I test if it is
> working? Will the unix engine named rev work on Apache? Or should I
> upload the OSX app?
> Anyone have experience with this??
> I uploaded the echo.mt file and get this back:
> $SCRIPT_NAME = /cgi-bin/echo.mt $REQUEST_URI = /cgi-bin/echo.mt
> $REQUEST_METHOD = GET $SERVER_PROTOCOL = HTTP/1.1 $GATEWAY_INTERFACE =
> CGI/1.1 $SERVER_SOFTWARE = Apache $SERVER_SIGNATURE =
> <ADDRESS>Apache/1.3.33 Server at www.lazyriversoftware.com Port
> 80</ADDRESS> $SERVER_PORT = 80 $SERVER_NAME =
> www.lazyriversoftware.com $SERVER_ADMIN = [no address given]
> $SERVER_ADDR = 18.104.22.168 $SCRIPT_FILENAME =
> $REMOTE_PORT = 43024 $REMOTE_ADDR = 22.214.171.124 $PATH =
> /usr/bin:/bin $HTTP_USER_AGENT = Mozilla/5.0 (Macintosh; U; Intel Mac
> OS X 10_5_2; en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1
> Safari/525.13 $HTTP_HOST = www.lazyriversoftware.com $HTTP_COOKIE =
> $HTTP_CONNECTION = keep-alive $HTTP_ACCEPT_LANGUAGE = en-us
> $HTTP_ACCEPT_ENCODING = gzip, deflate $HTTP_ACCEPT =
> $DOCUMENT_ROOT = /Library/WebServer/WebSites/mcgrath3/public_html/ $0
> = /Library/WebServer/WebSites/mcgrath3/public_html/cgi-bin/echo.mt it
> Tom McGrath
Professional Software Development
More information about the Use-livecode