Copied to clipboard

Flag this post as spam?

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


  • Fernando Camillo 41 posts 82 karma points
    Nov 14, 2014 @ 17:30
    Fernando Camillo
    0

    Backend url in IIS 8

    Hi.

    I'm migrating a Umbraco 4.5.2 site from IIS 6 (Windows Server 2003) to IIS 8 (Windows Server 2012). It's working fine (thanks to the forum help) but now backend only enters if type ending slash:

    Works: http://mysyte/umbraco/

    Doesn't work (http 404): http://mysite/umbraco

    IIS default page is default.aspx.

    Changed some configurations in IIS and web.config without success. Has anyone had this problem?

  • Nicholas Westby 2043 posts 7020 karma points c-trib
    Nov 14, 2014 @ 17:37
    Nicholas Westby
    0
  • Fernando Camillo 41 posts 82 karma points
    Nov 14, 2014 @ 20:16
    Fernando Camillo
    0

    Hi Nicholas.

    This feature is already installed:

    http redirection installed

    Looks like IIS thinks "/umbraco" is not a directory, and doesn't bring the default document (default.aspx).

  • Nicholas Westby 2043 posts 7020 karma points c-trib
    Nov 14, 2014 @ 21:51
    Nicholas Westby
    1

    Yes, "/umbraco" would not be a directory. It would be a page. Only "/umbraco/" would be considered a directory. Umbraco should be redirecting from /umbraco to /umbraco/. Not sure why that's not happening.

    Here's something else you can try: http://stackoverflow.com/questions/11325584/asp-net-v4-extensionless-url-feature-does-not-work-on-iis-6-0

    Alternatively, you could try creating a redirect yourself so that /umbraco redirects to /umbraco/ (you should be able to do that in "/config/UrlRewriting.config").

  • Fernando Camillo 41 posts 82 karma points
    Nov 17, 2014 @ 16:52
    Fernando Camillo
    0

    Hi Nicholas.

    It's something about ASP.NET framework 4.0, because it also occurs with IIS 6 if I change to this ASP.NET version.

    As you suggested, made my own redirect. Didn't get with UrlRewriting.config (maybe I missed something). I made the redirect in a macro at the 404 configured page.

    Thank you!

Please Sign in or register to post replies

Write your reply to:

Draft