Last post Dec 02, 2006 05:57 PM by vcsjones
Dec 02, 2006 04:36 PM|pkellner|LINK
I'm trying to convert my wordpress blog to asp.net and need to convert URL's that look like the following:
It seems that I can map http://peterkellner.net/2006 to something good, but as soon as I tag on the next slash, that is, something like http:/peterkellner.net/2006/11 I get the following error:
[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
System.Web.Util.UrlPath.ReduceVirtualPath(String path) +694...
An ideas how to map my full URL on the 3rd line of this post?
Gives the error.
Dec 02, 2006 05:57 PM|vcsjones|LINK
The urlMapping isn't all that good for URL Rewriting, just forwarding one request to another path. You might want to investigate a URL Rewriter: