On 07/19/2016 01:56 AM, Odhiambo Washington wrote:
> 
> In mm_cfg.py, I have:
> 
> HTDIG_HTSEARCH_PATH = '/usr/local/www/cgi-bin/htsearch'
> 
> I tried running it:
> 
> root@gw:/usr/home/wash # /usr/local/www/cgi-bin/htsearch
> Enter value for words: walu
> Content-type: text/html
> 
> <html><head><title>htsearch error</title></head>
> <body bgcolor="#ffffff">
> <h1>ht://Dig error</h1>
> <p>htsearch detected an error.  Please report this to the
> webmaster of this site by sending an e-mail to:
> <a href="mailto:[email protected]
> <mailto:[email protected]>">[email protected]</a>
> The error message is:</p>
> <pre>
> Unable to read word database file
> '/usr/local/share/htdig/database/db.words.db'
> Did you run htdig?
> </pre>
> </body></html>


That's good as far as it goes. Making it actually work from the command
line is more complicated than that. It expects environment variables and
POST data from the search form.

Has this ever worked? If so, what did you do just prior to its stopping
working? Have you made any changes and not restarted Mailman?

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to