On Wed, 14 Mar 2007 09:25:11 -0400 Jim Jagielski <[EMAIL PROTECTED]> wrote:
> > On Mar 14, 2007, at 5:07 AM, Frank wrote: > > > > > RewriteBodyLine 'http://(.*?)/(.*)/(.*)' 'http://${LOWERCASE:$1}/$ > > {MD5:$2}/$3' > > > > Yeah, that would be useful... Of course, the main issue is > that whereas mod_rewrite can afford to be dog slow, because, > after all, the URLs aren't *that* big, in-place rewriting > of content can't be. The more complex the functionality, > the slower it will be... :/ Solved in mod_line_edit: the code path for extra functionality (such as per-rule conditional execution and environment variable substitution) is invoked only when required. As for the particular case Frank asked for, that works by expanding the union to include a function pointer alongside the strmatch and regexp cases. So it's also a per-rule configuration flag, and never touches the code path except where explicitly invoked. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/