namazu-users-en
[Top] [All Lists]

Re: Apache configuration to use namazu.cgi

To: namazu-users-en@namazu.org
Subject: Re: Apache configuration to use namazu.cgi
From: Earl Hood <earl@earlhood.com>
Date: Mon, 24 Jun 2002 11:04:15 -0500
Reply-to: Earl Hood <earl@earlhood.com>
Message-id: <200206241604.g5OG4Fj03523@gator.earlhood.com>
On June 24, 2002 at 17:02, jusob@free.fr wrote:

Maybe the problem is not in the Apache configuration. Is namazu.cgi written i
n 
perl (I thought that all .cgi files are written in perl)? Because I can't edi
t 
it, that mean that most of the characters are not printable.

namazu.cgi is binary executable.  Make sure the executable bit is set
on it.

There is more than one way to configure apache to execute the program
as a CGI program.  Usually, just reading the default httpd.conf file
that comes with apache provides enough comments on how to do it.
You could either define a ScriptAlias or have,

AddHandler cgi-script .cgi

And then set the ExecCGI option for the directory containing namazu.cgi.

See the apache docs for more information.

--ewh


<Prev in Thread] Current Thread [Next in Thread>