Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ole Madsen 2 posts 22 karma points
    Jan 03, 2012 @ 16:41
    Ole Madsen
    0

    Setting up Umbraco for friendly URLs in Windows 7

     

    My first topic:

    In web.config, I am trying to

    Locate <Modules> node and add a single attribute preCondition into the UrlRewriteModule node; it is required that the attribute is empty. Your entry should look like this: <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" preCondition="" />

    I am trying to use Friendly URLs e.G. www.mysite.dk/test/ in a Windows 7 - environment

    But I am not allowed to write: preCondition=""

    Is there an alternative before I go in production in a real IIS 7 - I use Microsoft Visual Web Developer 2010 Express and the generated localhost

    It works fine for www.mysite.dk/umbraco/  but not www.mysite.dk/test/

     

  • Rich Green 2246 posts 4006 karma points
    Jan 03, 2012 @ 16:56
    Rich Green
    0

    Hi Ole,

    Welcome to the forum!

    If you are using IIS 7 you don't need to do anything except change 'useDirectoryURLs' in the web.config file to 'true'.

    Rich

  • Ole Madsen 2 posts 22 karma points
    Jan 03, 2012 @ 17:37
    Ole Madsen
    0

     

    Thank you Rich for very fast respons.

    I have  umbracoUseDirectoryUrls value to true. in the web.config file top level and get Page not found (Error 404) localhost:xxxxx/test/

    My hope was that the following file was found localhost:xxxxx/test/Default.aspx

    But I am not sure what the default web Server is when I am using ctrl F5 for generating localhost:xxxxx

    Best Regards

    Ole

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies