Nice URLs doesn't work in 4.0.3 on IIS7 using Integrated Pipeline
Hi,
I've just installed Umbraco 4.0.3 on my webhotel at Unoeuro running IIS 7.5. I've modified the web.config file so it should be compatible with .net 3.5 and almost everything seems to work okay.
The only thing that doesn't work is nice urls... When accessing my site via domain.dk/da it returns a HTTP/404. If I use da.aspx everything works fine..
I've searched the forums and read alot about fixing this by using wildcard mappings, but all of these threads applies to IIS6 and from what I've been told (by Unoeuro support staff), utilizing Integrated Pipeline should do the trick..
My only problem is that I've just started playing around with asp.net and umbraco so I don't fully understand what i need to do to make it work. I did try to make a new urlrewrite rule but the error still persists..
Can anyone give me a as what to do to make this work?
I'd like to include something from the error details that puzzles me:
Module
IIS Web Core
Notification
MapRequestHandler
Handler
StaticFile
Error Code
0x80070002
Shouldn't the handler be some umbraco-module of some kind?
And yes, umbracoUseDirectoryUrls is set to true ;)
Hostnames are set, yes. I've added runAllManagedModulesForAllRequests="True" to web.config but sadly no effect.. I still get the 404.. Setting usingDomainPrefixes to true didn't help either..
Take a look at http://www.adrenalinkick.dk/da to see what i mean.. I'm not sure if the integrated pipeline stuff works at all?!
Check with Unoeuro if integrated really is running. I had the exact same problem with my webhotel and when they checked integrated was not running. After that all ran smoothly :)
When you change the setting to use (or stop using) directory urls you need to publish your content pages again so that umbraco will re-calculate the URLs based on your new settings.
The easiest way to do this is right-click each top-most content node in your site (typically your homepage) and select the 'Publish' menu. Tick the 'include children' box and all pages below the selected page will be published as well. If you have a lot of nodes this can take a few moments to process them all.
Note that the 'Republish entire site' menu does something else and does not recalculate the URLs (though it won't hurt anything).
Nice URLs doesn't work in 4.0.3 on IIS7 using Integrated Pipeline
Hi,
I've just installed Umbraco 4.0.3 on my webhotel at Unoeuro running IIS 7.5. I've modified the web.config file so it should be compatible with .net 3.5 and almost everything seems to work okay.
The only thing that doesn't work is nice urls... When accessing my site via domain.dk/da it returns a HTTP/404. If I use da.aspx everything works fine..
I've searched the forums and read alot about fixing this by using wildcard mappings, but all of these threads applies to IIS6 and from what I've been told (by Unoeuro support staff), utilizing Integrated Pipeline should do the trick..
My only problem is that I've just started playing around with asp.net and umbraco so I don't fully understand what i need to do to make it work. I did try to make a new urlrewrite rule but the error still persists..
Can anyone give me a as what to do to make this work?
I'd like to include something from the error details that puzzles me:
Shouldn't the handler be some umbraco-module of some kind?
And yes, umbracoUseDirectoryUrls is set to true ;)
Best Regards
Matti
have you set a domain under "manage hostnames"?
Failing try reading my post on flat URL's to see if you've missed anything:
http://blog.fairlieagile.co.nz/2009/5/24/setting-up-a-new-umbraco-project
In particular steps 5 & 6.
Cheers
Paul
Hostnames are set, yes. I've added runAllManagedModulesForAllRequests="True" to web.config but sadly no effect.. I still get the 404.. Setting usingDomainPrefixes to true didn't help either..
Take a look at http://www.adrenalinkick.dk/da to see what i mean.. I'm not sure if the integrated pipeline stuff works at all?!
Matti
Check with Unoeuro if integrated really is running. I had the exact same problem with my webhotel and when they checked integrated was not running. After that all ran smoothly :)
It turns out that the fault was at Umbraco :) Thanks for the hint :D
When you change the setting to use (or stop using) directory urls you need to publish your content pages again so that umbraco will re-calculate the URLs based on your new settings.
The easiest way to do this is right-click each top-most content node in your site (typically your homepage) and select the 'Publish' menu. Tick the 'include children' box and all pages below the selected page will be published as well. If you have a lot of nodes this can take a few moments to process them all.
Note that the 'Republish entire site' menu does something else and does not recalculate the URLs (though it won't hurt anything).
cheers,
doug.
is working on a reply...