Mailman/htdig Success and a question or 3..

First I just want to say:
MAILMAN ROCKS! :)
I managed to get 2.1 and htdig all running together and working peachykeen... :) it's a beautiful thing! My monthly mailers all work now, creating lists from the webinterface works, etc!
However--a suggestion? In Defaults.py, once all the patches are added, we now see:
ARCHIVE_INDEXING_ENABLE = '<!--/htdig_noindex-->' ARCHIVE_INDEXING_DISABLE = '<!--htdig_noindex-->' # htdig integration parameters # if you set USE_HTDIG then you must also set HTDIG_MAILMAN_LINK # and HTDIG_RUNDIG_PATH to suit your htdig installation, for instance: # HTDIG_MAILMAN_LINK = 'htdig-mailman' # HTDIG_RUNDIG_PATH = '/usr/bin/rundig' USE_HTDIG = 0 # 0 - don't use integrated htdig, 1 - use it HTDIG_ARCHIVE_URL = '/mailman/htdig/' # must end in a slash HTDIG_SEARCH_URL = '/cgi-bin/htsearch' HTDIG_FILES_URL = '/htdig/' HTDIG_CONF_LINK_DIR = os.path.join(VAR_PREFIX, 'archives', 'htdig') HTDIG_MAILMAN_LINK = 'htdig-mailman' HTDIG_RUNDIG_PATH = '/usr/local/bin/rundig'
Now.. as far as I can tell, HTDIG_ARCHIVE_URL is just wrong. /mailman/htdig/ isn't the location of archives using Pipermail.. it's /mailman/pipermail ... So I'm wondering:
Am I just reading this wrong? Is my setup somehow b0rken? I had to set HTDIG_ARCHIVE_URL = '/mailman/pipermail/' in mm_cfg.py
What about private archives? Can there be (maybe in a future version) HTDIG_PRIVATE_ARCHIVE_URL ? As it stands, I have to manually edit the <listname>.conf to fix it for private archives... hardly a big deal, but I'm just the curious type...
I'm using the postfix-to-mailman.py (modified to work with 2.1--easy enough, if anyone would like a copy, I'll happily post it), and do not use mailman's aliases file--is there a way to stop mailman from writing to this data/aliases file? Not a biggie, I'm still just a curious guy :)
Again... you guys rock!!! :)))))
Thanks, Glenn
The original portions of this message are the copyright of the author (c)1998-2002 Glenn E. Sieb. ICQ UIN: 300395 IRC Nick: Rainbear
"Religion is for those who do what they are told regardless of what is right. Spirituality is for those who do what is right regardless of what they are told." -- unattributed

At 05:18 08/01/2003, Glenn Sieb wrote:
/mailman/htdig/ is correct. This is explained in the file $build/INSTALL.htdig-mm installed by the #444884 patch. In part it says:
<quote> $prefix/cgi-bin/htdig $prefix/Mailman/Cgi/htdig.py
these are a CGI script and its wrapper, which is always on the path
of URLs returned from searches of htdig indices. The script provides secure access to such URLs in the same way that the $prefix/cgi-bin/private and $prefix/Mailman/Cgi/private.py. htdig.py ensures private archives are kept private, applying the same criteria for permitting access as private.py, and delivering material from public archives without demanding any authentication. </quote>

At 07:21 AM 1/8/2003 +0000, Richard Barrett posted the following...
/mailman/htdig/ is correct. This is explained in the file $build/INSTALL.htdig-mm installed by the #444884 patch. In part it says:
*duck* sorry, my bad :)
Ok.. I've removed my HTDIG_ARCHIVE_URL from my mm_cfg.py.. now I've restarted Apache, and gone to a list with archives...
When I search, I get htdig's nice search results.. and when I hover over a link:
https://www.wingfoot.org/mailman/htdig/testing5/2003-January.txt
That's the link that shows.. but when I click on it I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@www.wingfoot.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
My /var/log/httpd-error.log shows:
[Thu Jan 9 00:30:34 2003] [error] [client 67.85.96.168] Premature end of script headers: /usr/local/mailman/cgi-bin/htdig
I've searched the FAQ with no luck.. :-/
(This is all why I thought I "fixed" it by changing HTDIG_ARCHIVE_URL...sorry for the confusion...)
Anyway--I really do appreciate all the help you all have been :) This list is a great resource!
Glenn
The original portions of this message are the copyright of the author (c)1998-2002 Glenn E. Sieb. ICQ UIN: 300395 IRC Nick: Rainbear
"Religion is for those who do what they are told regardless of what is right. Spirituality is for those who do what is right regardless of what they are told." -- unattributed

At 05:18 08/01/2003, Glenn Sieb wrote:
/mailman/htdig/ is correct. This is explained in the file $build/INSTALL.htdig-mm installed by the #444884 patch. In part it says:
<quote> $prefix/cgi-bin/htdig $prefix/Mailman/Cgi/htdig.py
these are a CGI script and its wrapper, which is always on the path
of URLs returned from searches of htdig indices. The script provides secure access to such URLs in the same way that the $prefix/cgi-bin/private and $prefix/Mailman/Cgi/private.py. htdig.py ensures private archives are kept private, applying the same criteria for permitting access as private.py, and delivering material from public archives without demanding any authentication. </quote>

At 07:21 AM 1/8/2003 +0000, Richard Barrett posted the following...
/mailman/htdig/ is correct. This is explained in the file $build/INSTALL.htdig-mm installed by the #444884 patch. In part it says:
*duck* sorry, my bad :)
Ok.. I've removed my HTDIG_ARCHIVE_URL from my mm_cfg.py.. now I've restarted Apache, and gone to a list with archives...
When I search, I get htdig's nice search results.. and when I hover over a link:
https://www.wingfoot.org/mailman/htdig/testing5/2003-January.txt
That's the link that shows.. but when I click on it I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@www.wingfoot.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
My /var/log/httpd-error.log shows:
[Thu Jan 9 00:30:34 2003] [error] [client 67.85.96.168] Premature end of script headers: /usr/local/mailman/cgi-bin/htdig
I've searched the FAQ with no luck.. :-/
(This is all why I thought I "fixed" it by changing HTDIG_ARCHIVE_URL...sorry for the confusion...)
Anyway--I really do appreciate all the help you all have been :) This list is a great resource!
Glenn
The original portions of this message are the copyright of the author (c)1998-2002 Glenn E. Sieb. ICQ UIN: 300395 IRC Nick: Rainbear
"Religion is for those who do what they are told regardless of what is right. Spirituality is for those who do what is right regardless of what they are told." -- unattributed
participants (2)
-
Glenn Sieb
-
Richard Barrett