Copied to clipboard

Flag this post as spam?

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


  • Hamish 96 posts 154 karma points
    Dec 16, 2010 @ 07:41
    Hamish
    0

    Installing on Softsys hosting - getting 404 when using umbracoUseDirectoryUrls

    I'm trying to install a new umbraco project on a Softsys shared hosting server. I update the web.config file so that umbracoUseDirectoryUrls is equal to true. Everything seemed fine until i created and tested pages/nodes other than the homepage.

    It keeps returning a 404 error message and I can't firgure out why.

    in the web.config i've set the following:

    <appSettings>
        ...
        <add key="umbracoUseDirectoryUrls" value="true"/>
        ...
    </appSettings>

     

    I've also added the following rewrite rule to the UrlRewriting.config and that doesn't work either:

    <add name="Admin" virtualUrl="~/admin(.*)$"
                destinationUrl="~/umbraco/umbraco.aspx"
                redirect="Application"
                redirectMode="Permanent"
                ignoreCase="true" />

     

    All of this works fine on my localhost.

    Is there anything else i need to do on my server at Softsys to get both of these working?

     

     

  • Paul Blair 466 posts 731 karma points
    Dec 16, 2010 @ 08:26
    Paul Blair
    1

    are you able to log on to the backend of Umbraco? Are you using Umbraco 4.5?

  • Hamish 96 posts 154 karma points
    Dec 16, 2010 @ 11:38
    Hamish
    0

    I have no problems logging in via the default umbraco login url (domain.com/umbraco) and I can make the normal updates inside the CMS without any issues.

    I am using Umbraco 4.5.2

  • Hamish 96 posts 154 karma points
    Dec 16, 2010 @ 11:55
    Hamish
    0

    Figured it out. After reading about Pauls experience with installing on Softsys - discovered that I needed to update the server not to "NET 4.0" but to "NET 4.0 (Integrated Pipeline)" instead.

    So if anyone else experiences this - from the Softsys Website Panel, follow the following steps

    1. Choose "Web Sites"
    2. Choose the website from the list of current websites that have been created
    3. Choose the "Extensions" tab
    4. Update ASP.NET to "NET 4.0 (Integrated Pipeline)"
    Ya la - working directory urls.

  • Hamish 96 posts 154 karma points
    Dec 16, 2010 @ 11:58
    Hamish
    0

    Thanks Paul for your help :)

Please Sign in or register to post replies

Write your reply to:

Draft