Skip to main content.
home | support | download

Back to List Archive

Re: [SWISH-E:263] Difficulty with ReplaceRules...

From: Ron Klatchko <ron(at)not-real.ckm.ucsf.edu>
Date: Tue Apr 28 1998 - 16:01:20 GMT
X-tra Fancy wrote:
> When I try to do something like:
> ReplaceRules replace "/www/htdocs/" ""
> 
> I end up with an empty index file.  But if I do:
> ReplaceRules replace "/www/htdocs/" " "

I also hit the bug with having the second part of a replace rule empty. 
My solution was to change my original rule:

ReplaceRules replace "/web/galen/docs" ""

to:

ReplaceRules replace "/web/galen/docs/" "/"

moo
----------------------------------------------------------------------
              Ron Klatchko - Senior Software Engineer
         UCSF Library and Center for Knowledge Management
                      ron@ckm.ucsf.edu
Received on Tue Apr 28 09:11:05 1998