Trigger event, keep track of dirs.

The 'enrouten' event allows one to extend the router 'proxy' for
app-specific purposes.