namazu-users-en
[Top] [All Lists]

RE: FW: exclude

2001-06-27 05:36:18
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(_dot_)devos(_dot_)gbp00180(_at_)exchange(_dot_)gbank(_dot_)com]
Sent: Wednesday, June 27, 2001 10:45 AM
To:   'namazu-users-en(_at_)namazu(_dot_)org'
Subject:      RE: FW: exclude

Does anybody have an idea ?

-----Original Message-----
From:       DEVOS BASTIEN
[SMTP:bastien(_dot_)devos(_dot_)gbp00180(_at_)exchange(_dot_)gbank(_dot_)com]
Sent:       Monday, June 25, 2001 4:35 PM
To: 'namazu-users-en(_at_)namazu(_dot_)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(_at_)daionet(_dot_)gr(_dot_)jp 
[SMTP:knok(_at_)daionet(_dot_)gr(_dot_)jp]
Sent:     Monday, June 25, 2001 11:13 AM
To:       namazu-users-en(_at_)namazu(_dot_)org
Subject:  Re: FW: exclude

In article
<4DB8126073BCD411B96700508BEF2E78221C41(_at_)ISHATD0910(_dot_)gbank(_dot_)be>
bastien(_dot_)devos(_at_)bpo(_dot_)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(_at_)daionet(_dot_)gr(_dot_)jp
  knok(_at_)namazu(_dot_)org / knok(_at_)debian(_dot_)org


<Prev in Thread] Current Thread [Next in Thread>