Namazu-users-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache configuration to use namazu.cgi



On June 24, 2002 at 17:02, jusob@xxxxxxx 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