apache reminder?
[1/3] from: balayo:mindspring at: 20-Apr-2001 15:13
hey list,
can some kind soul run down for me what has to be in httpd.conf
for apache to run rebol cgi scripts? I had it working on
another machine, but, well, I'm missing something obvious I'm
sure.
Script permissions are set right...
any ideas?
--
Loving every minute of it.
-tom
[2/3] from: m:koopmans2:chello:nl at: 20-Apr-2001 21:44
Hey,
The easiest way is to add a #! (shebang) line to your rebol scripts and
givethem the extension .cgi
Forgot the httpd.conf trick as well....
--Maarten
[3/3] from: deryk::iitowns::com at: 21-Apr-2001 9:39
Maarten Koopmans wrote:
> Hey,
>
> The easiest way is to add a #! (shebang) line to your rebol scripts and
> givethem the extension .cgi
>
> Forgot the httpd.conf trick as well....
If you wish to maintain the .r extension instead of the above .cgi
extension, append the following:
AddHandler cgi-script .r
Also remember to make the script o+rx by the apache user. If you want
to run cgi from directories other than /cgi-bin you've a little more
magic to do. :)
Deryk
-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature