I think I am having a problem with the htdig seach templates. On my old installation, I had a bunch of .html files in /etc/htdig - short.html, wrapper.html, etc....those files do not exist on my new installation.
I copied them over from the old server to the new, rebooted, but same issue with a blank search page. I checked the /etc/htdig/htdig.conf file and it says the common directory is /usr/share/htdig - that directory does not exist for me. So I hacked my .conf file in /usr/local/mailman/htdig to point directly to the templates that I copied over: template_map: Long long /etc/htdig/long.html \ Short short /etc/htdig/short.html template_name: short I do indeed get search results now. The results are not pretty - images don't appear and a few other problems - but - I get something. Any basic tips to fix my templates or maybe what might be wrong with my common_dir variable? Thanks! -----Original Message----- From: Mark Sapiro [mailto:m...@msapiro.net] Sent: Saturday, August 21, 2010 6:13 AM To: Scott Race Cc: Karl Zander; mailman-users@python.org Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig On 8/20/2010 9:07 PM, Scott Race wrote: > Any search returns the same blank page, I did try a few more posts > and searched for the term 'error' and my name. See below: > Rerunning the cron script now gives the following, even though I sent > a post about 1 minute before running the cron script and it posted to > the list.... > > [r...@lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig > for list; no recent posts: mailman_project This should only occur if there is no archives/private/mailman_project/yyyy-Month/ directory with a mod time more recent than archives/private/mailman_project/htdig/rundig_last_run. When you post, is the post archived? Does the mod time of archives/private/mailman_project/2010-August get updated? >> Running htsearch from command line gives me: >> >> [r...@list bin]# htsearch -c >> /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf >> >> Enter value for words: test >> Content-type: text/html >> This is normal/correct to here. >> Enter value for format: short [r...@lists2 bin]# This should produce some HTML output following your input of 'short'. There is some problem with htsearch or the mailman_project.conf file. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://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: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org