Hello,
i'm trying to configure url rewrite 2.0 rule for a short url service, the request is something like http://exampledomain.com/j8E7P
and i'm trying to parse j8E7P as a parameter for http://exampledomain.com/redirection.aspx?page=j8E7P
i made a "matches the pattern" using "regular expressions" rule with the pattern "/([_0-9a-z-.]+)/([_0-9a-z-]+)" and tested it and it parses j8E7P as {R:2} with no problems but the problem is when i request http://exampledomain.com/j8E7P from the server it gives 404, seems that i'm not configuring the action correctly. the action type is "rewrite" and rewrite URL is
"redirection.aspx?page={R:2}"
with "append query string" and "stop processing of subsequent rules" checked.
but its not working, i also tried "/redirection.aspx?page={R:2}" also not working. obviously i'm missing something.
any help would be appreciated.
Thank you,