Re: htdig: How to exclude underscores?


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Tue, 19 Jan 1999 09:21:45 -0600 (CST)


According to Gerrard Smith:
> I want to ignore all directories that start with "_vti*" when indexing, but make
> sure all other directories that have an underscore are indexed and searchable.
> This appears to be controlled by exclude_urls in the config file. I currently
> have set up for this:
>
> /cgi-bin/ .gif .jpeg .jpg . class .cgi _vti*
>
> Why is it still excluding any directory with an underscore?

I assume you mean still NOT excluding... The exclude_urls attribute does
not handle wildcards or regular expressions, so you don't want to use a
"*" in the pattern. As it uses partial matches anyway, it should be
sufficient to specify _vti without anything after it.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Wed Jan 20 1999 - 08:37:47 PST