Problem with redirect of url="~/2006/10" RRS feed

  • Question

  • User300685930 posted

    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?



    <urlMappings enabled="true">



    mappedUrl="~/Contact.aspx" >


    Gives the error.

    Saturday, December 2, 2006 4:36 PM