[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idxname value ?
- From: Philip S Tellis <philip@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jun 2001 11:46:21 +0530 (IST)
- X-ml-name: namazu-users-en
- X-mail-count: 00120
On Wed, 6 Jun 2001, Radoy Pavlov wrote:
> Still I can't get namazu.cgi to work. It breaks with
> "Can't open index" error message. It has something to do
> with NMZ.head i guess, still i can't understand the logic
Check that NMZ.* have world readable permissions (-rw-r--r--). Since
namazu.cgi runs as your http user (possibly user nobody or www), that
user has to have read permissions on the index files. The two ways to
do it are - either make the http user own the files (bad idea), or make
them readable by everyone (no reason not to).
The third option is to get your search engine to run setuid the owner of
the index files. Also not such a good idea.
Power corrupts. And atomic power corrupts atomically.
Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis