Re: Internet search engine

Matthew Jones (matj@hchworth.demon.co.uk)
Wed, 29 Mar 1995 13:44:26 +0100 (BST)

Thanks to all who replied, I now have a solution to the problem. For
those interested please read on ...

The small test database I created using the Dbhash library was created
with read permission for user 'matj' only:

-rw------- 1 matj staff 1505280 Mar 29 13:37 test_dbhash

When I was running the cgi script at the shell prompt I was running as
user 'matj', no problem there, the script worked. However, as I had
configured the NCSA httpd to execute cgi scripts as user 'nobody' the
script could not open the 'test_dbhash' file. The httpd error log
file showed:

dbhash.error: (13, 'permission denied')

I changed the file permissions and it worked! I now need to set up
users to make this a bit more secure.

Mat.
matj@hchworth.demon.co.uk