[REBOL] Re: APACHE + REBOL as CGI?
From: tim:johnsons-web at: 14-Sep-2001 9:00
On Fri, Sep 14, 2001 at 10:29:32AM -0500, [ryan--christiansen--intellisol--com] wrote:
> I run REBOL on Apache all of the time without configuring Apache.
>
> Put rebol executable in the /bin or /cgi-bin and chmod 755
>
> all scripts should shebang to the rebol executable (e.g. #!rebol -cs)
>
> make sure your scripts are set executable (e.g. chmod 755)
>
> Also, use .cgi extensions on your scripts. This is key, since Apache is
> probably set up to execute .cgi files, but NOT .r files.
I run rebol apps as .r extensions on both my home linux machine and and
my domain (linux also). Not a problem that I've seen, but if anyone
has any comments on that process, I'd welcome an alternative opinion.
I strongly recomemnd against using the default cgi-bin directory.
I use "ScriptAlias".
Tim
> -Ryan
>
> "Carlos
> Lorenz" To: <[rebol-list--rebol--com]>
> <[carlos--lorenz] cc:
> .net> Subject: [REBOL] APACHE + REBOL as CGI?
> Sent by:
> [rebol-bounce--r]
> ebol.com
>
> 07/30/2001
> 10:47 AM
> Please respond
> to rebol-list
>
> Hi friends,
>
> I´m trying to run some CGI in REBOL on the server but have no success.
>
> According to the support team (that loves PERL) their machines (running
> APACHE) are not configured to support REBOL as CGI.
>
> My question is: is really necessary to configure APACHE to recognizes REBOL
> scripts or can I just upload REBOL.EXE to a subdirectory under my space and
> from there use it to run my scripts?
>
> Carlos
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/01
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com