Re: [htdig] header.html


Subject: Re: [htdig] header.html
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Wed Oct 04 2000 - 09:25:16 PDT


According to christopher.murtagh@wcg.mcgill.ca:
> On Wed, 4 Oct 2000, Steve Murray wrote:
> >2) put my custom header.html in htdig/common
> >
> >Result? I get my search results list with no header at all, just the list.
> >
> >I tried downloading the default header.html from the htdig site and
> >putting that in the common directory. Same result, list but no header.
>
> Is the header file world readable (or at least readable by the web
> server)?

Not only that, but all directories leading up to the header file must
be searchable (i.e. executable) by the web server's user ID. I've seen
far too many users set their umask to something like 077, which is fine
if you're paranoid about security, but it just doesn't work well when
trying to set up publicly accessible stuff.

> Other than that, try something like this in your .conf file:
>
> search_results_header: `${common_dir}/header.html`

No, that won't work. The search_results_header attribute must contain
a file name, not the file's contents.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Wed Oct 04 2000 - 09:29:08 PDT