From sajithvk at gmail.com Fri Aug 3 15:39:27 2007 From: sajithvk at gmail.com (Sajith VK) Date: Fri Aug 3 15:45:48 2007 Subject: [Namazu-users-en] Searching by the filename Message-ID: Hello all, Sorry if it is already discussed, or not in the objective of namazu.. Today I installed namazu, and find it very useful. However, I noticed that it if I search for the file name, It is not showing in the result. I think namazu is indexing the content inside a file, but not the file name. I know that it is the functionality of a disk cataloger. But, can I get this functionality also in namazu? Or can I use any other program is association with namazu to get this behaviour? My search should consider the following possibilityes * Filename *meta data in various file formats (?) * Content of the documents (already works very well) * And even name of the directories! Kindly suggest a way to go ahead... -- Sajith VK Change the rules, or the rules will change you :Kumaranasan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.namazu.org/pipermail/namazu-users-en/attachments/20070803/d5ae1180/attachment.htm From yw3t-trns at asahi-net.or.jp Fri Aug 3 17:17:26 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 3 17:17:46 2007 Subject: [Namazu-users-en] Re: Searching by the filename References: Message-ID: <46B2E496.EE0839B8@asahi-net.or.jp> Sajith VK wrote: > > result. I think > namazu is indexing the content inside a file, but not the file name. No, it searches for the filename. What is the version of Namazu? Example) $ echo abc > test.txt $ mknmz test.txt $ namazu test.txt . Results: References: [ test.txt: 1 ] Total 1 documents matching your query. 1. test.txt (score: 2) Author: unknown Date: Fri, 03 Aug 2007 16:53:42 +0900 abc /path/test.txt (4 bytes) Current List: 1 - 1 > My search should consider the following possibilityes > * Filename It is possible to search normally. However, the field-specified searching can be used. ex) $ namazu +uri:test.txt . Moreover, it is also possible to set the field for the filename search. Please add "filename" to "$SEARCH_FIELD" of "mknmzrc". And, try to make the new index. NMZ.field.filename is sure to be made. It is possible to search for the filename field by this. ex) $ namazu +filename:test.txt . > *meta data in various file formats (?) Please use the field-specified search. > * And even name of the directories! I might want to conceal the original directory name by occasion of on security. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From sajithvk at gmail.com Fri Aug 3 17:55:49 2007 From: sajithvk at gmail.com (Sajith VK) Date: Fri Aug 3 17:55:52 2007 Subject: [Namazu-users-en] Re: Searching by the filename In-Reply-To: <46B2E496.EE0839B8@asahi-net.or.jp> References: <46B2E496.EE0839B8@asahi-net.or.jp> Message-ID: Hi Tadamasa, Thanks a lot for the quick reply.. You are true, namazu is searching for filename as well.. I think I understood the problem clearly now, My dataset have several files, some pdf files, images, videos and text files. Namazu works well for pdf and text files. I can search based on content or file name. But for Images and videos, filename based search also fails. I think mknmz skip these files. Can I instruct mknmz to index the file name of such files? (I ma using "-a" flag already). Similarly I have one pdf file whose content is completely in my local language (named Malayalam). I think namazu skipped this file too. Waiting for your suggestions... On 8/3/07, Tadamasa Teranishi wrote: > > Sajith VK wrote: > > > > result. I think > > namazu is indexing the content inside a file, but not the file name. > > No, it searches for the filename. > What is the version of Namazu? > > Example) > > $ echo abc > test.txt > $ mknmz test.txt > $ namazu test.txt . > Results: > > References: [ test.txt: 1 ] > > Total 1 documents matching your query. > > 1. test.txt (score: 2) > Author: unknown > Date: Fri, 03 Aug 2007 16:53:42 +0900 > abc > /path/test.txt (4 bytes) > > > > > Current List: 1 - 1 > > > My search should consider the following possibilityes > > * Filename > > It is possible to search normally. > > However, the field-specified searching can be used. > ex) > > $ namazu +uri:test.txt . > > Moreover, it is also possible to set the field for the filename > search. > Please add "filename" to "$SEARCH_FIELD" of "mknmzrc". > And, try to make the new index. > NMZ.field.filename is sure to be made. > It is possible to search for the filename field by this. > > ex) > $ namazu +filename:test.txt . > > > *meta data in various file formats (?) > > Please use the field-specified search. > > > * And even name of the directories! > > I might want to conceal the original directory name by occasion > of on security. > -- > ===================================================================== > TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp > http://www.asahi-net.or.jp/~yw3t-trns/index.htm > Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E > > _______________________________________________ > Namazu-users-en mailing list > Namazu-users-en@namazu.org > http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en > -- Sajith VK Change the rules, or the rules will change you :Kumaranasan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.namazu.org/pipermail/namazu-users-en/attachments/20070803/8b31b3f0/attachment.htm From yw3t-trns at asahi-net.or.jp Fri Aug 3 18:34:02 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 3 18:34:18 2007 Subject: [Namazu-users-en] Re: Searching by the filename References: <46B2E496.EE0839B8@asahi-net.or.jp> Message-ID: <46B2F68A.AFEEBEEF@asahi-net.or.jp> Sajith VK wrote: > > But for Images and videos, filename based search also fails. I think > mknmz > skip these files. Can I instruct mknmz to index the file name of such > files? They are media types not supported by standard Namazu. The supported media type can be examined by "mknmz -C". Please make the filter program corresponding to the media type not supported and correspond. > (I ma using "-a" flag already). Even if "-a" option is applied, the media type that doesn't correspond is skipped. (Or, it misidentifies it to the supported media type.) > Similarly I have one pdf file whose content is completely in my local > language > (named Malayalam). I think namazu skipped this file too. As for Namazu, only US-ASCII(and EUC-JP) corresponds to Charset. This is a specification. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From sajithvk at gmail.com Fri Aug 3 18:39:07 2007 From: sajithvk at gmail.com (Sajith VK) Date: Fri Aug 3 18:39:10 2007 Subject: [Namazu-users-en] Re: Searching by the filename In-Reply-To: <46B2F68A.AFEEBEEF@asahi-net.or.jp> References: <46B2E496.EE0839B8@asahi-net.or.jp> <46B2F68A.AFEEBEEF@asahi-net.or.jp> Message-ID: Can I make a filter for all media types that are not supported? If yes, I can use that to index the filename of them!... On 8/3/07, Tadamasa Teranishi wrote: > > Sajith VK wrote: > > > > But for Images and videos, filename based search also fails. I think > > mknmz > > skip these files. Can I instruct mknmz to index the file name of such > > files? > > They are media types not supported by standard Namazu. > The supported media type can be examined by "mknmz -C". > > Please make the filter program corresponding to the media type not > supported and correspond. > > > (I ma using "-a" flag already). > > Even if "-a" option is applied, the media type that doesn't correspond > is skipped. (Or, it misidentifies it to the supported media type.) > > > Similarly I have one pdf file whose content is completely in my local > > language > > (named Malayalam). I think namazu skipped this file too. > > As for Namazu, only US-ASCII(and EUC-JP) corresponds to Charset. > This is a specification. > -- > ===================================================================== > TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp > http://www.asahi-net.or.jp/~yw3t-trns/index.htm > Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E > > _______________________________________________ > Namazu-users-en mailing list > Namazu-users-en@namazu.org > http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en > -- Sajith VK Change the rules, or the rules will change you :Kumaranasan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.namazu.org/pipermail/namazu-users-en/attachments/20070803/ebaced2c/attachment.htm From yw3t-trns at asahi-net.or.jp Fri Aug 3 18:53:39 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 3 18:53:48 2007 Subject: [Namazu-users-en] Re: Searching by the filename References: <46B2E496.EE0839B8@asahi-net.or.jp> <46B2F68A.AFEEBEEF@asahi-net.or.jp> Message-ID: <46B2FB23.85C1E912@asahi-net.or.jp> Sajith VK wrote: > > Can I make a filter for all media types that are not supported? > If yes, I can use that to index the filename of them!... Everyone may freely make the filter. Namazu is a free software of the GPL license. But, I do not understand whether or not to have the ability to make you the filter. The knowledge of Perl and Namazu is necessary to make the filter. Do your best ! -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From izto at asic-linux.com.mx Sat Aug 4 14:24:32 2007 From: izto at asic-linux.com.mx (Felipe Sanchez) Date: Sat Aug 4 14:51:28 2007 Subject: [Namazu-users-en] No space available silent fail Message-ID: Hi, I think I found a minor but rather evil bug. I was indexing a Mhonarc mail archive and all of the sudden I started getting corrupted indexes and empty templates generated by mknmz. The odd thing was that minutes before it was working just fine! After spending the whole afternoon scratching my head and trying everything from using different users/directories to waiving a dead chicken over the server, I suddenly realized what the problem was: The partition I was trying to write the index to had no available space! The confusing thing was that mknmz seemed to run just fine. It said: 840/840 - /cklist/threads.html is not a MHonArc message file! skipped. Writing index files... [Base] Date: Fri Aug 3 23:52:46 2007 Added Documents: 839 Size (bytes): 3,960,382 Total Documents: 839 Added Keywords: 30,244 Total Keywords: 30,244 Time (sec): 15 File/Sec: 55.93 System: linux Perl: 5.006001 Namazu: 2.0.17 As you can see, there was no indication whatsoever about any errors while building the index. Specially, there was no "no space available" notification. From yw3t-trns at asahi-net.or.jp Sat Aug 4 15:59:58 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Sat Aug 4 16:00:08 2007 Subject: [Namazu-users-en] Re: No space available silent fail References: Message-ID: <46B423EE.8220357D@asahi-net.or.jp> Felipe Sanchez wrote: > > As you can see, there was no indication whatsoever about any errors while > building the index. Specially, there was no "no space available" > notification. Thank you for the report. It is corrected with the following patch. --- pl/util.pl.org 2006-02-06 03:53:30.000000000 +0900 +++ pl/util.pl 2007-08-04 15:56:34.000000000 +0900 @@ -72,6 +72,8 @@ sub fclose ($) { if (ref $arg) { if ($arg =~ /^(IO::File|FileHandle)/) { my $fh = $arg; + $fh->flush; + cdie("write error: $!\n") if ($fh->error); $fh->close(); return undef; } -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Thu Aug 23 12:35:03 2007 From: btraynor at gmail.com (Bill Traynor) Date: Thu Aug 23 13:03:08 2007 Subject: [Namazu-users-en] config help Message-ID: I've got several mhonarc created mailing list archives (ezmlm-idx based) that I'm struggling to make searchable. The mhonarc files live in a directory structure like this: /path/to/lists/web-archive/listname/ I've installed namazu from source and have successfully run mknmz on one of the older archives in the following manner: $cd /path/to/lists/web-archive/listname $mkdir /usr/local/var/namazu/index/listname $/usr/local/bin/mknmz -O /usr/local/var/namazu/index/listname . The latter created the indexes and template files in /usr/local/var/namazu/index/listname fine. My question is, when browsing the mhonarc created html archives, I don't see anything regarding searching at all. So how do I tie together the mhonarc html files and the namazu templates? Thanks Bill The relevant bits of .namazurc are: Index /usr/local/var/namazu/index Template /usr/local/var/namazu/index Replace /usr/local/var/namazu/index https://myhostname.com/archives From izto at asic-linux.com.mx Thu Aug 23 13:29:53 2007 From: izto at asic-linux.com.mx (Felipe Sanchez) Date: Thu Aug 23 13:29:53 2007 Subject: [Namazu-users-en] Re: config help In-Reply-To: References: Message-ID: On Wed, 22 Aug 2007, Bill Traynor wrote: > My question is, when browsing the mhonarc created html archives, I > don't see anything regarding searching at all. So how do I tie > together the mhonarc html files and the namazu templates? The first thing you want to do is to install namazu.cgi somewhere in your web server's CGI execution path. Then you should put your .namazurc in the same directory as namazu.cgi. If you point your browser to http://yourserver/cgi-bin/namazu.cgi you should be able to perform your search and click on the links to the MHonarc files. Finally you might want to edit MHonarc templates so it includes a mean to go back to the search page. Maybe a simple link to the CGI's URL or even a full HTML form whose action would invoke namazu.cgi again. From yw3t-trns at asahi-net.or.jp Thu Aug 23 13:47:18 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Thu Aug 23 13:47:38 2007 Subject: [Namazu-users-en] Re: config help References: Message-ID: <46CD1156.9B2952A2@asahi-net.or.jp> Bill Traynor wrote: > > The latter created the indexes and template files in > /usr/local/var/namazu/index/listname fine. > > My question is, when browsing the mhonarc created html archives, I > don't see anything regarding searching at all. So how do I tie > together the mhonarc html files and the namazu templates? If the index is only one. .namazurc are: Index /usr/local/var/namazu/index/listname Template /usr/local/var/namazu/index/listname Replace /usr/local/var/namazu/index https://myhostname.com/archives If you make two or more indices for /usr/local/var/namazu/index/ .namazurc are: Index /usr/local/var/namazu/index Template /usr/local/var/namazu/index Replace /usr/local/var/namazu/index https://myhostname.com/archives and NMZ.head of the template directory is edited. For selecting multiple indices NMZ.head needs a checkbox. Target
  • foo
  • bar
  • baz
In the above example, you can select multiple indices from foo, bar, and/or baz. see. http://www.namazu.org/doc/manual.html.en#form-idxnames Please refer to search.namazu.org. http://search.namazu.org/index.html.en -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Fri Aug 24 01:55:02 2007 From: btraynor at gmail.com (Bill Traynor) Date: Fri Aug 24 01:55:05 2007 Subject: [Namazu-users-en] Fwd: config help In-Reply-To: References: Message-ID: Sorry, i mistakenly didn't send this to the list. ---------- Forwarded message ---------- From: Bill Traynor Date: Aug 23, 2007 9:29 AM Subject: Re: [Namazu-users-en] config help To: Felipe Sanchez On 8/23/07, Felipe Sanchez wrote: > > > On Wed, 22 Aug 2007, Bill Traynor wrote: > > > My question is, when browsing the mhonarc created html archives, I > > don't see anything regarding searching at all. So how do I tie > > together the mhonarc html files and the namazu templates? > > > The first thing you want to do is to install namazu.cgi somewhere in your > web server's CGI execution path. Already done. > > Then you should put your .namazurc in the same directory as namazu.cgi. If > you point your browser to http://yourserver/cgi-bin/namazu.cgi you should > be able to perform your search and click on the links to the MHonarc > files. .namazurc is there too, but pointing my browser at zamazu.cgi returns a Zope error: Cannot locate object at: http://www.codesourcery.com/cgi-bin > > > Finally you might want to edit MHonarc templates so it includes a mean > to go back to the search page. Maybe a simple link to the CGI's URL or > even a full HTML form whose action would invoke namazu.cgi again. I was really hoping to avoid this. But I'll note it as a possibility once I get basic searching working. Thanks for your help. Bill > > From btraynor at gmail.com Fri Aug 24 01:55:27 2007 From: btraynor at gmail.com (Bill Traynor) Date: Fri Aug 24 02:24:26 2007 Subject: [Namazu-users-en] Fwd: Re: config help In-Reply-To: References: <46CD1156.9B2952A2@asahi-net.or.jp> Message-ID: Sorry, I mistakenly didn't send this to the list as well. ---------- Forwarded message ---------- From: Bill Traynor Date: Aug 23, 2007 9:42 AM Subject: Re: [Namazu-users-en] Re: config help To: Tadamasa Teranishi On 8/23/07, Tadamasa Teranishi wrote: > Bill Traynor wrote: > > > > The latter created the indexes and template files in > > /usr/local/var/namazu/index/listname fine. > > > > My question is, when browsing the mhonarc created html archives, I > > don't see anything regarding searching at all. So how do I tie > > together the mhonarc html files and the namazu templates? > > If the index is only one. > > .namazurc are: > > Index /usr/local/var/namazu/index/listname > Template /usr/local/var/namazu/index/listname > Replace /usr/local/var/namazu/index https://myhostname.com/archives I have 69 indexes, all at /usr/local/var/namazu/index// Note that these archives are private, which is why my hostname is required to be https://intranet.myhostname.com/archives I will also have an additional 23 indexes that will be publically searchable. These archives are at http://mydomain.com/archives Can I accommodate this private/public split somehow with namazu's configs? > > > > If you make two or more indices for /usr/local/var/namazu/index/ > > .namazurc are: > > Index /usr/local/var/namazu/index > Template /usr/local/var/namazu/index > Replace /usr/local/var/namazu/index https://myhostname.com/archives > > and NMZ.head of the template directory is edited. > > For selecting multiple indices NMZ.head needs a checkbox. > > Target >
    >
  • foo
  • >
  • bar
  • >
  • baz
  • >
> > In the above example, you can select multiple indices from foo, bar, > and/or baz. Yes, that's excellent. I don't see the page yet, as I am getting the Zope error but I'm sure this will work when I figure out the Zope error. > > see. http://www.namazu.org/doc/manual.html.en#form-idxnames > > Please refer to search.namazu.org. > > http://search.namazu.org/index.html.en > -- > ===================================================================== > TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp > http://www.asahi-net.or.jp/~yw3t-trns/index.htm > Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E > > _______________________________________________ > Namazu-users-en mailing list > Namazu-users-en@namazu.org > http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en > From yw3t-trns at asahi-net.or.jp Fri Aug 24 03:19:42 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 24 03:20:09 2007 Subject: [Namazu-users-en] Re: Fwd: config help References: Message-ID: <46CDCFBE.F708802D@asahi-net.or.jp> Bill Traynor wrote: > > .namazurc is there too, but pointing my browser at zamazu.cgi returns > a Zope error: > > Cannot locate object at: http://www.codesourcery.com/cgi-bin Is your Web server Zope? I do not know Zope in detail. Maybe, It cooperates with Apache to use CGI or I think that it had to use ZCGI, LocalFS etc. ... The blog that wrote the method of using Namazu with Zope was found. (Japanese) http://www.ngi644.net/net/kei_blog/56 It is URL that translates the machine as for the blog. http://www.excite.co.jp/world/english/web/?wb_url=http://www.ngi644.net/net/kei_blog/56&wb_lp=JAEN&wb_dis=2&wb_co=excitejapan -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From yw3t-trns at asahi-net.or.jp Fri Aug 24 03:45:57 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 24 03:46:16 2007 Subject: [Namazu-users-en] Re: Fwd: Re: config help References: <46CD1156.9B2952A2@asahi-net.or.jp> Message-ID: <46CDD5E5.1F0C78B3@asahi-net.or.jp> Bill Traynor wrote: > > I have 69 indexes, all at /usr/local/var/namazu/index// > Note that these archives are private, which is why my hostname is > required to be https://intranet.myhostname.com/archives > > I will also have an additional 23 indexes that will be publically > searchable. These archives are at http://mydomain.com/archives As for Namazu, indices up to 64 can be treated. Please use nmzmerge if you may put these indices together. Or, Please make the index specifying two or more lists when the index is made with mknmz. ex) $ cd /path/to/lists/web-archive $ mkdir /usr/local/var/namazu/index/group1 $ mknmz -O /usr/local/var/namazu/index/group1 list1 list2 list3 > Can I accommodate this private/public split somehow with namazu's configs? It is possible to divide with Replace of .namazurc. Two or more Replace can be specified. ex) Replace /usr/local/var/namazu/index/public http://myhostname.com/public Replace /usr/local/var/namazu/index/private https://myhostname.com/private However, if namazu.cgi is the public, it lists private and it is possible to search it. If it is unpleasant, namazu.cgi, .namazurc, indecies is put in two places. A) public The index is made in/usr/local/var/namazu/index/public. http://www.example.com/cgi-bin/namazu.cgi http://www.example.com/cgi-bin/.namazurc Index /usr/local/var/namazu/index/public Template /usr/local/var/namazu/index/public Replace /usr/local/var/namazu/index/public http://myhostname.com/public B) private The index is made in/usr/local/var/namazu/index/private. Index /usr/local/var/namazu/index/private Template /usr/local/var/namazu/index/private Replace /usr/local/var/namazu/index/private https://myhostname.com/private https://www.example.com/cgi-bin/namazu.cgi https://www.example.com/cgi-bin/.namazurc These namazu.cgi, .namazurc shall not be the same places of the local file. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Fri Aug 24 04:38:43 2007 From: btraynor at gmail.com (Bill Traynor) Date: Fri Aug 24 04:38:47 2007 Subject: [Namazu-users-en] {cgi} error Message-ID: I get the following error returned after clicking on the Search button: Cannot locate object at: https://.com/archives//NMZ.head/%7Bcgi%7D Also, when I hover on a link in NMZ.head, I see: https://.com/archives//NMZ.head/{cgi} Should {cgi} be /path/to/namazu.cgi? Thanks Bill From yw3t-trns at asahi-net.or.jp Fri Aug 24 05:16:40 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Fri Aug 24 05:17:02 2007 Subject: [Namazu-users-en] Re: {cgi} error References: Message-ID: <46CDEB28.3F5B1521@asahi-net.or.jp> Bill Traynor wrote: > > I get the following error returned after clicking on the Search button: > > Cannot locate object at: > https://.com/archives//NMZ.head/%7Bcgi%7D Why? NMZ.head doesn't open directly. NMZ.head is only read with namazu.cgi. {cgi} of NMZ.head is rewritten by namazu.cgi. namazu.cgi should start by the following URL. https://.com/cgi-bin/namazu.cgi -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Sat Aug 25 02:19:11 2007 From: btraynor at gmail.com (Bill Traynor) Date: Sat Aug 25 02:19:14 2007 Subject: [Namazu-users-en] apache error Message-ID: I've almost got things working except for this error in my apache error log: Can't open NMZ.warnlog. What would cause this? From yw3t-trns at asahi-net.or.jp Sat Aug 25 02:40:00 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Sat Aug 25 02:40:29 2007 Subject: [Namazu-users-en] Re: apache error References: Message-ID: <46CF17F0.CDD12CF8@asahi-net.or.jp> Bill Traynor wrote: > > I've almost got things working except for this error in my apache error log: > > Can't open NMZ.warnlog. > > What would cause this? There is a problem in the permission of the directory with the index file. "namazu.cgi" makes the NMZ.warnlog file for the index directory. Warning is recorded in NMZ.warnlog. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Sat Aug 25 04:25:38 2007 From: btraynor at gmail.com (Bill Traynor) Date: Sat Aug 25 04:26:00 2007 Subject: [Namazu-users-en] Re: apache error In-Reply-To: <46CF17F0.CDD12CF8@asahi-net.or.jp> References: <46CF17F0.CDD12CF8@asahi-net.or.jp> Message-ID: On 8/24/07, Tadamasa Teranishi wrote: > Bill Traynor wrote: > > > > I've almost got things working except for this error in my apache error log: > > > > Can't open NMZ.warnlog. > > > > What would cause this? > > There is a problem in the permission of the directory with the > index file. > "namazu.cgi" makes the NMZ.warnlog file for the index directory. > Warning is recorded in NMZ.warnlog. Thanks, that fixed it. Now, given that I have many, many archives. How can I get NMZ.head to provide all of my archives without editing all of them by hand? And to use the search tool, do I have to incorporate the NMZ.head into my mhonarc created html? > -- > ===================================================================== > TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp > http://www.asahi-net.or.jp/~yw3t-trns/index.htm > Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E > > _______________________________________________ > Namazu-users-en mailing list > Namazu-users-en@namazu.org > http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en > From yw3t-trns at asahi-net.or.jp Sat Aug 25 12:43:23 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Sat Aug 25 12:43:48 2007 Subject: [Namazu-users-en] Re: apache error References: <46CF17F0.CDD12CF8@asahi-net.or.jp> Message-ID: <46CFA55B.20E282DE@asahi-net.or.jp> Bill Traynor wrote: > > Now, given that I have many, many archives. How can I get NMZ.head to > provide all of my archives without editing all of them by hand? see. http://www.namazu.org/pipermail/namazu-users-en/2007-August/000358.html and http://www.namazu.org/doc/manual.html.en#form-idxnames > And to use the search tool, do I have to incorporate the NMZ.head into > my mhonarc created html? First: I think that it only has to make only one top page like "http://search.namazu.org/index.html.en". To achieve this % cat NMZ.head NMZ.body NMZ.foot > index.html Please generate HTML statically. Moreover, cat is done, becomes
, and rewrite the part of action="{cgi}" properly, please, action="/cgi-bin/namazu.cgi" etc. And, please add the correction of "Selecting multiple indices". The search corresponding to two or more indices will be able to be done by opening index.html by Web a browser in this. Second: If it wants to set up the search box in the index of MHonArc like "http://www.namazu.org/ml/namazu-users-en/", as follows is done. Please customize -rcfile option to mhonarc putting it. For instance, " ...
" part in NMZ.head is built in in that specifying " ... " and " ... " with rcfile. Please execute mhonarc putting -rcfile option after rcfile is edited, and make the MHonArc file newly again. I think that customizing MHonArc should be asked with ML of MHonArc beyond the limits of ML this it. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Sat Aug 25 21:13:33 2007 From: btraynor at gmail.com (Bill Traynor) Date: Sat Aug 25 21:13:37 2007 Subject: [Namazu-users-en] indexing error Message-ID: I'm trying to index my mailing lists and keep running into this error: The "negative number" problem occurred How do I get around this? Thanks Bill From yw3t-trns at asahi-net.or.jp Sat Aug 25 21:32:20 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Sat Aug 25 21:32:46 2007 Subject: [Namazu-users-en] Re: indexing error References: Message-ID: <46D02154.C1D915EE@asahi-net.or.jp> Bill Traynor wrote: > > I'm trying to index my mailing lists and keep running into this error: > > The "negative number" problem occurred > > How do I get around this? There is a possibility of the hardware error. It is necessary to inspect the memory and HDD. There might be a problem in the file if happening when a specific file is processed. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E From btraynor at gmail.com Tue Aug 28 09:59:07 2007 From: btraynor at gmail.com (Bill Traynor) Date: Tue Aug 28 10:24:42 2007 Subject: [Namazu-users-en] mknmz --include/--exclude Message-ID: How do I exclude multiple paths using the mknmz --exclude=PATTERN? I've tried: --exclude=pathname,pathname2,pathname3... --exclude=pathname pathname2 pathname3... --exclude=pathname;pathname2;pathname3... And does --include follow the same format? Thanks Bill From yw3t-trns at asahi-net.or.jp Tue Aug 28 11:01:56 2007 From: yw3t-trns at asahi-net.or.jp (Tadamasa Teranishi) Date: Tue Aug 28 11:02:01 2007 Subject: [Namazu-users-en] Re: mknmz --include/--exclude References: Message-ID: <46D38214.EFFD0594@asahi-net.or.jp> Bill Traynor wrote: > > How do I exclude multiple paths using the mknmz --exclude=PATTERN? It is a pattern match of Perl. (regular expression) ex) --exclude='^(pathname|pathname2|pathname3)$' > And does --include follow the same format? No. "--include" is "--exclude" and not a pair. see Usage. -I, --include=FILE include your customization FILE. -- ===================================================================== TADAMASA TERANISHI yw3t-trns@asahi-net.or.jp http://www.asahi-net.or.jp/~yw3t-trns/index.htm Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E