In fact, I have different configurations of mknmz when running 'mknmz -C' in
command-line and in a PHP script , both with user apache.
In command-line :
<snip>
Loaded rcfile: /etc/namazu/mknmzrc
System: linux
Namazu: 2.0.5
Perl: 5.006
NKF: module_nkf
KAKASI: module_kakasi -ieuc -oeuc -w
ChaSen: no -j -F '%m '
Wakati: module_kakasi -ieuc -oeuc -w
Lang: en_US
Coding System: euc
CONFDIR: /etc/namazu
LIBDIR: /usr/share/namazu/pl
FILTERDIR: /usr/share/namazu/filter
TEMPLATEDIR: /usr/share/namazu/template
Supported media types:
application/pdf
application/x-bzip2
application/x-compress
application/x-gzip
message/news
message/rfc822
text/hnf
text/html
text/html; x-type=mhonarc
text/plain
text/plain; x-type=rfc
text/x-roff
</snip>
<snip>
Loaded rcfile: /etc/namazu/mknmzrc
System: linux
Namazu: 2.0.5
Perl: 5.006
NKF: module_nkf
KAKASI: module_kakasi -ieuc -oeuc -w
ChaSen: no -j -F '%m '
Wakati: module_kakasi -ieuc -oeuc -w
Lang: en_US
Coding System: euc
CONFDIR: /etc/namazu
LIBDIR: /usr/share/namazu/pl
FILTERDIR: /usr/share/namazu/filter
TEMPLATEDIR: /usr/share/namazu/template
Supported media types:
application/excel
application/msword
application/pdf
application/x-bzip2
application/x-compress
application/x-gzip
message/news
message/rfc822
text/hnf
text/html
text/html; x-type=mhonarc
text/plain
text/plain; x-type=rfc
text/x-roff
</snip>
... ? how is this possible ?
-----Original Message-----
From: DEVOS BASTIEN [SMTP:bastien.devos.gbp00180@exchange.gbank.com]
Sent: Wednesday, June 27, 2001 10:45 AM
To: 'namazu-users-en@namazu.org'
Subject: RE: FW: exclude
Does anybody have an idea ?
-----Original Message-----
From: DEVOS BASTIEN
[SMTP:bastien.devos.gbp00180@exchange.gbank.com]
Sent: Monday, June 25, 2001 4:35 PM
To: 'namazu-users-en@namazu.org'
Subject: RE: FW: exclude
it works, thanks.
Another question: what's the difference between root and a common user
who's
running mknmz ?
When I run mknmz with my username , I get :
"Can't locate gettext.pl in @INC (...)"
when I do a "locate gettext.pl", I get
"/usr/share/namazu/pl/gettext.pl",
which is effectively not in @INC.
the difference is that when I run exactly the same command with root,
mknmz
runs fine.
In fact I try to automate the use of mknmz in a PHP Document Manager, in
order to update the index when uploading a file. mknmz runs fine, but
skip
some files, like word documents. I tried in command-line with -V and
I've
noticed that it was gettext.pl ...etc.
any idea ?
thanks,
Bastien.
-----Original Message-----
From: knok@daionet.gr.jp [SMTP:knok@daionet.gr.jp]
Sent: Monday, June 25, 2001 11:13 AM
To: namazu-users-en@namazu.org
Subject: Re: FW: exclude
In article
<4DB8126073BCD411B96700508BEF2E78221C41@ISHATD0910.gbank.be>
bastien.devos@bpo.be writes:
somebody could help on this point ?
is it something like "... --exclude='\..*'..." ? but this doesn't
work
...
How about --exclude '/\.' ?
--
NOKUBI Takatsugu
E-mail: knok@daionet.gr.jp
knok@namazu.org / knok@debian.org