Copied to clipboard

Flag this post as spam?

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


  • Lachlann 343 posts 625 karma points
    May 03, 2011 @ 18:13
    Lachlann
    0

    Stop Umbraco serving .TTF

    Hey guys,

    Do any of you know how to stop umbraco from serving .ttf file I tried adding

    <add verb="*" path="*.ttf" type="System.Web.HttpForbiddenHandler" validate="true"/>

    and

    <add verb="GET" path="*.ttf" type="System.Web.HttpForbiddenHandler" validate="true"/>

    in both the httpHandlers section and in handlers in the web config.

    But with no avail.

    Any help would be great.

    L

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    May 03, 2011 @ 22:54
    Jan Skovgaard
    0

    Hi Lachlann

    Have you tried setting this up on the server instead of in the web.config perhaps?

    /Jan

  • Lachlann 343 posts 625 karma points
    May 04, 2011 @ 11:20
    Lachlann
    1

    Hi thanks Jan,

     

    I ran out of time adn ended up putting the fonts in hte AppData folder which stopeed them from being served.

     

    thanks for your suggestion.

     

    L

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    May 04, 2011 @ 11:56
    Jan Skovgaard
    0

    Hi Lachlann

    Good to hear you got i solved and thanks for sharing the solution :-)

    /Jan

  • 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