No, not the quickest at all but he gets there!  Or will do if you include the following above the existing do_rewrite function clause:

do_rewrite(Path, []) ->

Without this, paths that don't match aren't passed through correctly.



On Wed, Jul 8, 2009 at 10:58 AM, Claes Wikstrom <> wrote:
andrew mmc wrote:
Hello everyone,

I just wrote the below rewrite mod.  

Nice work - not the fastest guy in town - but handy.