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

Re: One index for two locations

2003-06-25 19:38:01
                                               makoto(_at_)ki(_dot_)nu
| From: Peter Blajev <peter(_at_)castandcrew(_dot_)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>