I've just added SQL query (DBD) capability to RewriteMap. Having read the documentation, I see it supports internal functions toupper/tolower/escape/unescape. I had in mind to add support for other internal functions while I was hacking it.
Now, I see we have ap_register_rewrite_mapfunc in the existing code, registered as an optional function. Doesn't that mean AN Other module can register its own "int:foo" functions, and the documentation is wrong? -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.prenhallprofessional.com/title/0132409674