It's not UrlRewriting that's causing the issue, it's an IIS setting difference between the development and production environments.
I'm not sure what the setting actually is, but essentially IIS is expecting a trailing slash for directories - otherwise it is trying to retreive a file called "umbraco".
Found this Microsoft KB article about it, but it doesn't say anything about resolving the problem - sorry.
UrlRewriting.Net Differences between Development and Production Environment
Hi,
I have moved a umbraco copy from Dev to Production environment. There are however some differences in the way the Url's are being written.
On the dev version if i go to http://www.website.com/umbraco i am routed to the umbraco login page.
However if i go to the same address on the production server i get a error:
Page not found
No umbraco document matches the url "http://www.website.com/umbraco"
umbraco tried this to match it using this xpath query'/root/* [@urlName = "umbraco"] | /root/*/* [@urlName = "umbraco"]')
Has anyone else experienced this? Im not using friendly urls.
Any ideas?
Thanks in advance.
Hi Grant,
It's not UrlRewriting that's causing the issue, it's an IIS setting difference between the development and production environments.
I'm not sure what the setting actually is, but essentially IIS is expecting a trailing slash for directories - otherwise it is trying to retreive a file called "umbraco".
Found this Microsoft KB article about it, but it doesn't say anything about resolving the problem - sorry.
Cheers, Lee.
Found some tips & tricks on IIS.net: http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx
Thanks for your reply, when i get into work tomorrow i will check out IIS for any differences and let you know what i find.
is working on a reply...