Namazu-users-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting --deny to work



Hi,
I'm struggling with the format of --deny. My first question is if I want
to exclude a file in just one subdirectory should I be using the full
path on disk, or the URL?

Second question is why does it not work either way :-(.

Here is the command I'm using (*):
mknmz --indexing-lang=ja -M -k -e --output-dir='index.main'
  --update='index.main' --replace='s#/htdocs/#/#' --deny='navi.*html'
  --deny='head.html' --exclude='admin' /htdocs

The admin directory gets excluded fine. But navi_nf.html and
navi_fla.html are still in the index as is head.html. (BTW, I only want
the versions of these files in the root excluded).

I've another index where --deny='index.*\.html' is working as expected 
(--deny='index.html' also worked). It denies files in all subdirectories
which is what I wanted in that case.

Darren

P.S. If the developers are listening, an --exclude-framesets would be a
nice option.