Hi rebollers,

I am trying to run a very simple CGI script with Apache 1.3.23 under Linux.

1. This script starts with the following two lines

#!/home/pat665/core/rebol -cs
rebol []

2. The script is called from 192.168.1.52 under IE (Windows machine) with
http://192.168.1.51/cgi-bin/cgi-hw.cgi

3. Inside the browser, I got only one word for response

REBOL

4. Using proxy.r with debug-all set to true, I am able to see what I am
getting from Apache.

{HTTP/1.1 200 OK^M
Date: Sun, 02 Jun 2002 21:31:02 GMT^M
Server: Apache-AdvancedExtranetServer/1.3.23 (Mandrake Linux/4mdk)^M
The command line usage is: ^M
Connection: close^M
Content-Type: text/plain^M
^M
^-REBOL <options> <script> <arguments>

All fields are optional. Supported options are:

^---cgi (-c)       Check for CGI input
^---do expr        Evaluate expression
^---link url       Connect to Link
( etc )

5. In fact, I am getting the REBOL syntax for the command line

6. On the Linux machine (192.168.1.51) I got the same result with
http://localhost/cgi-bin/cgi-hw.cgi .

7. From the console, I can start the script with this command line

/var/www/cgi-bin/cgi-hw.cgi

The result is again a remainder of the REBOL syntax for the command line
except that it is not displayed in Mozilla but on the console.

I am at a loss. Any idea, any debugging tips will be greatly appreciated ...

Patrick



 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to