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

Re: running namazu from a cgi script

To: namazu-users-en@namazu.org
Subject: Re: running namazu from a cgi script
From: Earl Hood <earl@earlhood.com>
Date: Wed, 04 Jun 2003 19:28:28 -0500
Reply-to: Earl Hood <earl@earlhood.com>
Message-id: <200306050028.h550SSh04345@gator.earlhood.com>
On June 4, 2003 at 19:38, garg@zeesource.net wrote:

 I'm trying to execute 'namazu' for a search from
my own cgi script (I use proper protections, etc.)

 Its not working, however, as it comes back saying
that I should run 'namazu.cgi' instead.

 Is this a feature of namazu?

Yes it is.  I believe it is done to avoid potential security problems
with run the shell command namazu from a CGI program.

If so, how can I
get around it?

If you are careful in how namazu is invoked from a CGI program, security
should not be a problem.  Check out,
<http://www.namazu.org/ml/namazu-users-en/msg00345.html>, for
some template Perl code that you can use to invoke namazu from
a CGI program in a safe way.

--ewh

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