Diggers,
Here's a patch for 3.2.0b2 that introduces a new configuration item,
"url_rewrite_rules" that allows a number of regex rewrites to be applied
to parsed URLs before they are used. These rules are applied before any
processing is done on discovered URLs.
Here's an example fragment from htdig.conf:
url_rewrite_rules: (.*)\\?JServSessionIdroot=.* \\1 \
(.*)\\&JServSessionIdroot=.* \\1 \
(.*)&context=.* \\1
As you can see from the example we're using this to trim JServ session
IDs and some other extraneous stuff from the end of URLs we're
processing, but there are likely to be other applications; off the top
of my head I can see how it might be useful for handling Lotus Domino
URLs too.
If anyone's using 3.1.5 and would like the same functionality I have a
(different) patch that does the same for that version.
Comments welcome.
--
Andy Armstrong, Tagish
htdig-3.2.0b2.rewrite.tar.gz
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.