[Lurker-users] Lurker - failed to render page
Brought to you by:
terpstra
From: Bo K. <bo...@vi...> - 2003-08-15 17:11:20
|
Hi Guys, Lurker is exactly what I've been looking for to index mailing lists and a bunch of my old mail..... I had no problems compiling, but I've got some configuration problems and I've tried hitting the lurker.cgi about every way that I can think of.... I got the lurker-1.0 and mimelib-3.1.1 packages from site, unpacked the sources... Then: ./configure --with-mimelib-local make make install-strip the cgis were installed into /usr/local/lib/cgi-bin and the rest was installed under /usr/local/var/www/lurker I created a db directory /export10/lurkerdb and edited /etc/lurker.conf accordingly.... I'm using Apache 2.0, so the config for lurker looks like this while I'm trying to get this to work. <LocationMatch "^/lurker/*"> AddType text/xml .xsl AddType text/xml .xml AddDefaultCharset UTF-8 ErrorDocument 404 /cgi-bin/lurker.cgi?/etc/lurker.conf?../var/www/lurker/splash/index.xml </LocationMatch> ScriptAlias /cgi-bin/ /usr/local/lib/cgi-bin/ Alias /lurker/ /usr/local/var/www/lurker/ line wrapping on the above ErrorDocument is due to email formatting... it is not actually wrapped in the httpd conf file for lurker. I get the following when I try to access the site.... Lurker - failed to render page: Cannot chdir (../var/www/lurker/splash/index.xml:No such file or directory): The specified path to the document root could not be entered. Check the argument and permissions. permissions for the splash directory are currently set to 0777 and all of the directories above are 0755, so any user should be able to to get to the directory. I ran the script manually following the example in http://lurker.sourceforge.net/archive/message/20030327.003541.14d09de6.html and that generates the following: ./lurker.cgi /etc/lurker.conf splash/index.xml Status: 200 OK Content-Type: text/xml; charset=UTF-8 <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="../fmt/splash.xsl"?> <splash> <server><version>1.0</version><doc-url>http://:</doc-url><cgi-url>http:/</cgi-url><archive>Some Mailing List Archive</archive><email address="ni...@bi..." name="Unconfigured"/></server> <group> <id>lists</id> <heading>Mailing Lists</heading> <list><id>samba</id><group>lists</group><link>http://lists.samba.org/mailman/listinfo/samba</link><description>This list is for all discussion between people using Samba and looking for help understanding it or installing it.</description><email address="sa...@li..." name="Samba Mailing List"/></list> </group> </splash> I fed this into xsltproc and got the following.... -:1: error: Start tag expected, '<' not found Status: 200 OK ^ cannot parse - So I removed: Status: 200 OK Content-Type: text/xml; charset=UTF-8 And then tried again with xsltproc and got a splash/index.html that works! FWIW, I was able to lurker-index the sample mbox file w/o problems.... TIA for any guidance.... -- Bo Kersey email: bo...@vi... VirCIO - managed network solutions phone: (512)374-0500 716 Congress Avenue, Suite 200 Austin, TX 78701 Repartee is something we think of twenty-four hours too late. -- Sam Clemens GPG Public Key: http://www.vircio.com/pubkeys/bo-gpg.txt FingerPrint: 8DE7 90F2 E10C 80BA 6CBB 327E 3754 DA73 71F2 8A1C Acrobat Public Key: http://www.vircio.com/pubkeys/bo-acrobat.fdf MD5 FingerPrint: 534D AEF7 69DF 48FC AE5E 45F8 AFC8 3DAB |