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.
andrew mmc wrote:Nice work - not the fastest guy in town - but handy.
I just wrote the below rewrite mod.