Hi folks,
I'm trying to write a replace rule that simultaneously replaces one part
of a string, and removes another.
For example, I have the following directory structure, which gets
indexed from the root
/usr/web/htdocs/
/usr/web/htdocs/content
/usr/web/htdocs/content/books
/usr/web/htdocs/content/books/chapters
In each directory there is a set of html files.
Now, I would think the following replacerule would work:
ReplaceRules replace "/usr/web/htdocs/\(.*/\)*" "http://host/cgi-bin/concordance/"
I would think this means replace "/usr/web/htdocs/" followed by (any
number of (any number of characters followed by a '/')) with
"http://host/cgi-bin/concordance/".
But this doesn't work. I get no matches, and the index just contains
every thing from the root.
What am I doing wrong?
Thanks,
Ed
Received on Tue Nov 3 16:54:50 1998