Re: ezmlm-browse 0.10 whining
Russell Nelson <[email protected]> Tue, 16 Aug 2005 17:29:03 -0400
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
Bruce Guenter writes: > On Sat, Aug 13, 2005 at 09:22:04PM -0400, Russell Nelson wrote: > > Hmmm..... Debian Sarge doesn't install a python2 executable. It only > > installs python and python2.3. So the makefile fails. > > Any suggestions how to resolve it? Assume that "python" is python v2? Check sys.version_info[0] to make sure that it's 2 or greater? > > Also, if you want to see what it looks like: > > http://dsbl.org/cgi-bin/ezmlm-browse.cgi > > http://lists.untroubled.org/ is also an example. DOH. > > Also, while I'm whining, Google doesn't search dynamic pages. Neither > > does it search into http://www.crynwr.com/cgi-bin/ezmlm-cgi/index. > > Thus, ezmlm-browse needs to have a "stealth" mode, wherein it exposes > > each email once and only once, and links to it from the Thread index > > and Date index. > > Are the thread and date indices not also "dynamic pages", which by the > same logic would not get searched? I don't see how this would help. Well, I've gotten a start on what I want: http://archives.linmodems.org/ It doesn't format the emails in a pretty manner, and doesn't have a thread index, but there is one and only one URL for each email, and doesn't "look" like CGI. > > Also, if whining is True: > > I may as well make it work under ModPython at the same time. > > What needs to be done to facilitate this? It's not terribly hard to use ModPython. The most serious pain in the butt is that you have no control over the current directory, so all filenames have to be absolute. You can see how I did it here: http://archives.linmodems.org/archives.py The Apache configuration looks like this: <VirtualHost 192.203.178.3> ServerName archives.linmodems.org DocumentRoot /var/www/archives.linmodems.org </VirtualHost> <Directory "/var/www/archives.linmodems.org"> SetHandler python-program PythonHandler archives </Directory> -- --My blog is at blog.russnelson.com | In a democracy the rulers Crynwr sells support for free software | PGPok | are older versions of the 521 Pleasant Valley Rd. | +1 315-323-1241 | popular kids from high Potsdam, NY 13676-3213 | | school. --Bryan Caplan