Wildcard redirect

Changes to allow wildcards in both request and redirect URLs.