Hi,
I'm at my wit's end here... I've got MM 2.1.5 w/htdig patches (via FreeBSD port), and while it seems very close to working, it's not quite right, or perhaps in my reading of the patch install/config guide I just missed something.
Everything seems to be happening correctly; a new post to a list gets the htdig directory added. If I manually run the nightly script (as mailman), that works without error. I get the search box, and I get search results.
However, the links to each message look like this:
http://myhost.com/htdig/listname/2004-June/000008.html
Which of course isn't a valid URL; all the archives look either like this:
http://myhost.com/pipermail/2004-June/000008.html
or
http://myhost.com/private/2004-June/000008.html
Even if I go into the archive/private/htdig/listname.conf file and alter the URL (url_part_aliases) and run the nightly script I still get the bogus URL.
What am I missing here? Was there some Alias I was supposed to add to my apache config? What else can I tell you about the config?
Thanks,
Charles
Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet - www.bway.net spork@bway.net - 212.655.9344
On 30 Jun 2004, at 05:23, Charles Sprickman wrote:
Hi,
I'm at my wit's end here... I've got MM 2.1.5 w/htdig patches (via FreeBSD port), and while it seems very close to working, it's not quite right, or perhaps in my reading of the patch install/config guide I just missed something.
Everything seems to be happening correctly; a new post to a list gets the htdig directory added. If I manually run the nightly script (as mailman), that works without error. I get the search box, and I get search results.
However, the links to each message look like this:
http://myhost.com/htdig/listname/2004-June/000008.html
Which of course isn't a valid URL; all the archives look either like this:
http://myhost.com/pipermail/2004-June/000008.html
or
http://myhost.com/private/2004-June/000008.html
Even if I go into the archive/private/htdig/listname.conf file and alter the URL (url_part_aliases) and run the nightly script I still get the bogus URL.
This is explained in the INSTALL.htdig-mm file (or its HTML version) added to the $build directory by the patch:
<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. Both htdig.py and private.py ensures private archives are kept private, applying the same criteria for permitting access. Additionally, htdig.py delivers material from public archives without demanding any authentication. </quote>
Normal installation of Mailman, after applying the patch to the source distribution, should handle things.
What am I missing here? Was there some Alias I was supposed to add to my apache config? What else can I tell you about the config?
Thanks,
Charles
Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet - www.bway.net spork@bway.net - 212.655.9344
On Wed, Jun 30, 2004 at 06:40:50AM +0100, Richard Barrett wrote:
On 30 Jun 2004, at 05:23, Charles Sprickman wrote:
I'm at my wit's end here... I've got MM 2.1.5 w/htdig patches (via FreeBSD port),
Normal installation of Mailman, after applying the patch to the source distribution, should handle things.
You might want to check whether the htdig patches applied successfully. It doesn't look like they were updated for 2.1.5 in ports, and I found OpenInfo's patches for 2.1.4 required minor modifications to work with 2.1.5. [Email if interested. I did send them to Richard a while back.]
George
theall@tifaware.com
On Wed, 30 Jun 2004, Richard Barrett wrote:
This is explained in the INSTALL.htdig-mm file (or its HTML version) added to the $build directory by the patch:
I can't tell you how many times I read that page. Lots of info in one page... :)
Anyhow, today I went and double-checked my ScriptAlias lines, removed an Alias that referenced "/htdig/", and it's working again... I'm not sure how I fixed it, as at some point yesterday I did not have the Alias line in there. Testing both private and public lists shows that it works as expected now (including trying to reach a private URL without logging in; I get a proper email/pass prompt).
Anyhow, thanks for pointing out that "htdig" is indeed a cgi in the mailman cgi-bin, that fact slipped my mind yesterday.
Is there any chance this set of patches will ever make it into Mailman? List archives without an integrated search (especially private lists) are an absolute necessity; no one wants to page through years of posts to find what they're looking for...
Thanks for the help and for the excellent patch!
Charles
Charles
On 30 Jun 2004, at 20:11, Charles Sprickman wrote:
On Wed, 30 Jun 2004, Richard Barrett wrote:
This is explained in the INSTALL.htdig-mm file (or its HTML version) added to the $build directory by the patch:
I can't tell you how many times I read that page. Lots of info in one page... :)
Bit of a brain dump I know. Surprised me to find so much junk in there.
Anyhow, today I went and double-checked my ScriptAlias lines, removed an Alias that referenced "/htdig/", and it's working again... I'm not sure how I fixed it, as at some point yesterday I did not have the Alias line in there. Testing both private and public lists shows that it works as expected now (including trying to reach a private URL without logging in; I get a proper email/pass prompt).
Anyhow, thanks for pointing out that "htdig" is indeed a cgi in the mailman cgi-bin, that fact slipped my mind yesterday.
Is there any chance this set of patches will ever make it into Mailman?
Not in my and MM 2.1.x's lifetime. Just hope that the experts producing MM 3 get the archive search issue right but do not bet your pension fund on it.
List archives without an integrated search (especially private lists) are an absolute necessity; no one wants to page through years of posts to find what they're looking for...
Pushing against an open door as far as I am concerned.
Thanks for the help and for the excellent patch!
I will get a set of MM 2.1.5 patches out but as I write I am still buried in rewriting some ancient Apache 1.x modules and shell/C hacks belonging to a client as coherent set of Apache 2 compatible mod_perl handlers and output filters; a worthwhile but challenging task that has taken much more effort than anticipated. Nearly there so the new 2.1.5 MM-htdig patches should follow soon after.
regards
Richard
Charles
participants (3)
-
Charles Sprickman
-
George Theall
-
Richard Barrett