slightly offtopic about aeforum on apache...
[1/6] from: tofo:695online at: 4-Jul-2003 15:06
Howdy guys,
I've got all the aeforum stuff all nicely in place (I think) on an apache
server. All the AEforum*.r scripts are in cgi-bin/, and the Forums,
and image directories are under my document root.
I noticed that none of the AEforum*.r scripts are executable, and none
have a bang path. should I fix this? Otherwise, how do the scripts
know that rebol is supposed to execute them?
thanks for your patience ... :-)
--
signature sneezing: "achoo!"
-tom
[2/6] from: SunandaDH:aol at: 4-Jul-2003 16:21
Tom:
> I noticed that none of the AEforum*.r scripts are executable, and none
> have a bang path. should I fix this? Otherwise, how do the scripts
> know that rebol is supposed to execute them?
You should have a shebang at the start of each CGI script: something like:
#!/rebol/rebol -cs
or wherever REBOL is installed.
Then, if you haven't already, you need to tell Apache that it is allowed to
execute cgi programs: Add ExecCGI to the Options line in the Conf file.
And that should do it!
Sunanda.
[3/6] from: gchiu:compkarori at: 5-Jul-2003 13:46
On Fri, 4 Jul 2003 15:06:58 -0400
Tom Foster <[tofo--695online--com]> wrote:
>I noticed that none of the AEforum*.r scripts are
>executable, and none
>have a bang path. should I fix this? Otherwise, how do
Hi Tom,
You should have the script I sent you that adds a bang
path to all the aeforum scripts, and also changes the cgi
and images directories.
Here's a proposed fix for the cookie handling as well
http://www.compkarori.com/vanilla/display/AEForum
--
Graham Chiu
http://www.compkarori.com/vanilla/
[4/6] from: chalz:earthlink at: 4-Jul-2003 22:34
I'm sorry, bang and shebang? English, please?
[5/6] from: tofo::695online::com at: 5-Jul-2003 0:18
On Fri, Jul 04, 2003 at 10:34:19PM -0400, Charles wrote:
> I'm sorry, bang and shebang? English, please?
>
> > You should have a shebang at the start of each CGI script: something like:
> >
> > #!/rebol/rebol -cs
Heh, that's a shebang :-) The first line of a unix-type shell script
that points to whatever will execute the script. a perl script would
have a shebang pointing to the perl interpreter. Always starts with
#!
(bang!)
--
signature in pain: "ouch!"
-tom
[6/6] from: joel:neely:fedex at: 5-Jul-2003 0:20
Hi, Charles,
Charles wrote:
> I'm sorry, bang and shebang? English, please?
>
> ----- Original Message -----
> From: <[SunandaDH--aol--com]>
>>You should have a shebang at the start of each CGI script: something
like:
>>
>>#!/rebol/rebol -cs
>>
From the common pronounciations of the two first punctuation
characters:
# = haSH
! = BANG
#! = SH'BANG or SHeBANG
On *nix-like systems, you can make a file executable by setting
the execute bit(s) and placing a "shebang" line at the beginning
which specifies what interpreter to run for the script, along
with any desired command line options, as in (e.g.):
#!/usr/bin/rebol -cs
for REBOL,
#!/usr/bin/perl -w
for Perl,
#!/usr/bin/ksh
for Korn shell, etc.
(your paths and mileage may vary).
-jn-