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 3945 posts 15163 karma points MVP 10x 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 3945 posts 15163 karma points MVP 10x 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.

  • 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