Copied to clipboard

Flag this post as spam?

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


  • Grant Perkins 11 posts 31 karma points
    May 19, 2011 @ 18:39
    Grant Perkins
    0

    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.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    May 19, 2011 @ 18:55
    Lee Kelleher
    0

    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.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    May 19, 2011 @ 18:56
  • Grant Perkins 11 posts 31 karma points
    May 19, 2011 @ 22:12
    Grant Perkins
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft