Copied to clipboard

Flag this post as spam?

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


  • Lachlann 344 posts 626 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 11280 posts 23678 karma points MVP 10x 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 344 posts 626 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 11280 posts 23678 karma points MVP 10x 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

Please Sign in or register to post replies

Write your reply to:

Draft