Copied to clipboard

Flag this post as spam?

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


  • Daniel 4 posts 94 karma points
    Feb 27, 2019 @ 15:58
    Daniel
    0

    Extensionless files / apple site association

    Hi

    I have uploaded the apple-app-site-association file on the root of my site which uses umbraco. I have added:

    add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd,/apple-app-site-association"

    But it only says : "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

    Any ideas?

  • louisjrdev 107 posts 343 karma points c-trib
    Feb 28, 2019 @ 13:41
    louisjrdev
    0

    you have /apple-app-site-association please try ~/apple-app-site-association

  • Daniel 4 posts 94 karma points
    Feb 28, 2019 @ 13:53
    Daniel
    0

    That gives the same result :(

  • louisjrdev 107 posts 343 karma points c-trib
    Feb 28, 2019 @ 14:01
    louisjrdev
    0

    try adding it to the UmbracoReservedPaths setting instead

  • Daniel 4 posts 94 karma points
    Feb 28, 2019 @ 14:12
    Daniel
    0

    I have tried it all. But without success.

  • Daniel 4 posts 94 karma points
    Mar 08, 2019 @ 08:34
    Daniel
    100

    I solved this by adding extension .json to the file.

    And in web.config

    <appSettings>
         <add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/apple-app-site-association" />
    </app.Settings>
        ...
    <system.webServer>
          ...
           <rewrite>
              <rules>
                <rule name="apple_json_file">
                    <match url="^apple-app-site-association" />
                    <action type="Rewrite" url="apple-app-site-association.json" />
                </rule>
              </rules>
            </rewrite>
    </system.webServer>
    
  • 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