According to Gabriele Bartolini: > >Thanks for the suggestion. The user httpd.conf file is running as is nobody. > > > >Do you mean that the httpd.conf file should be owned by the same user for > >the htdig.conf file? > >If so, both are already set permission-wise to the same user already. > > Ciao, > > It is better to set just read permissions for the 'nobody', you never > know what the 'dangerous user' could do. > > The nobody user must access that file, which means it must be able to > walk down the directory tree up to that file ... Do all the directories > have the 'x' permission set for instance for all the users?
That's right. Your config files must be accessible and readable by the user ID under which the web server runs. That user ID is usually set by a directive within the httpd.conf file, if your web server is Apache, not by the ownership of that file. Also, for your config files to be accessible and readable by this user ID, it doesn't mean they have to be owned by this user ID. Generally, that would be a bad idea because while you want the web server to have read access to this configuration file, and to all your template files too, you don't want the web server to have write access to them. Just make sure the files are "world-readable", i.e. they have all three read permission bits turned on. Similarly, all directories leading down to the config file and the template files should be "world-executable" so that the web server's user ID can go through these directories, from the root down, to locate the files. What this usually means is don't do web site maintenance with your umask set to "77". If I had a dollar for every user who's made that mistake, I'd probably be a rich man by now. And if you're made that mistake, go back and fix the permissions so the files are accessible. Another possible cause of this error, where htsearch can't read the configuration file, is that you failed to install your configuration files where you told htsearch they'd be at compile time. This is set by the --with-config-dir to the ./configure program, or after the fact, but before running make, by changing the value of CONFIG_DIR in the CONFIG file (or the Makefile for 3.2 beta releases). -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

