Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: CGI configuration help requested

From: dlmayer:flashcom at: 14-Nov-2000 14:35

Thank you Andy York and Sterling for your suggestions. Unfortunately neither of them corrected the situation. I really believe that the problem resides with the configurations settings. To get php4 to work tech support told me to add the following to my .htaccess file: Action php4-script /cgibin/php4 AddHandler php4-script .php4 AddHandler php4-script .php After that, php4 worked fine. I wonder if there are settings like the above that I need to do for Rebol. I appreciate your continuing help. ... Doug Mayer ----- Original Message ----- From: Douglas Mayer <[dlmayer--flashcom--net]> To: <[rebol-list--rebol--com]> Sent: Tuesday, November 14, 2000 12:14 PM Subject: [REBOL] CGI configuration help requested Sure would appreciate some help in properly configuring my server so that I can invoke Rebol scripts from the web. My web host provider is running BSDI and Apache. I have access to the .htaccess file, but not the srm.conf file. I have added the following line to the .htaccess file: AddType application/x-httpd-cgi .r I have put a test file,test.r, in my cgibin and permissioned it -rwxr-xr-x. For some reason my cgibin is not hyphenated like cgi-bin, it is just cgibin. I know Rebol works as I can telnet into my site and run it. When I point my browser at test.r I get the following error message: The server encountered an internal error or misconfiguration and was unable to complete your request. The following is from my log: [14/Nov/2000:11:19:24 -0500] "GET /cgibin/test.r HTTP/1.1" 500 529 My test script is: #!/rebol/rebol --cgi REBOL [] print{ <!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 6.0::19990601::extensions to HTML 4.0//EN" "hmpro6.dtd"> <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <P>It works!</P> <P>Hurrah!!</P> </BODY> </HTML> } Does anyone see what I need to correct? Thanks... Doug Mayer