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

Re: One index for two locations

To: namazu-users-en@namazu.org
Subject: Re: One index for two locations
From: Makoto Fujiwara <makoto@ki.nu>
Date: Thu, 26 Jun 2003 11:37:49 +0900
Reply-to: namazu-users-en@namazu.org
Message-id: <yfmhe6dmuma.wl@harry.ki.nu>
                                               makoto@ki.nu
| From: Peter Blajev <peter@castandcrew.com>
| Subject: One index for two locations

DocRoot        URL                 
------------  ------------------
/www/docroot  /servername          
/ext/archive  /servername/archive  

There are so many ways to combine those two, but I would 
just try following mknmz,


mkdir      /ext/namazu-index
cd /
mknmz -O   /ext/namazu-index   \
      --replace 's#www/docroot/#http://servername/#\
                 s#ext/archive/#http://servername/archive#'\
      www/docroot ext/archive

Usually, --replace may not be recommended, 
(and instead using 'Replace' in .namazurc), 
but it would be good for these mixture.
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

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