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
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/
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
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
is working on a reply...