Tom Penney wrote:
> [...]
> I would think this rule would work:
> RewriteRule ^(.*)/?$ ${txtmap:$1} [L]
> 
> And it does work for this url:
> http://domain.com/page/one
> 
> but does not match this url:
> http://domain.com/page/one/
> because the ".*" is gobbling up the trailing slash and not finding it in my map
> 
> any suggestions?
> 

In perl regexes you can use ".*?" instead of ".*" to make it a non-greedy 
match. Does that work?

-Steve