Implementing the 'any' handler (including the handling of url parameters).