Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Jun 2014
    Posts
    37
    Member #
    39433
    Liked
    1 times

    web.config error - webm, ttf, ogv

    Hello,

    I am having issues adding extensions to the web.config file.
    I made it because it was returning webm files with a 404 error despite being on there.

    when I upload this to the root folder of my godaddy hosted server, it gives me an error "The page cannot be displayed because an internal server error has occurred."

    Is it returning an error because it is poorly formatted or why else?

    thanks

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
        <configuration>
        <system.webServer>
        <staticContent>
        <remove fileExtension=".svg"/>
        <remove fileExtension=".ttf"/>
        <remove fileExtension=".eot"/>
        <remove fileExtension=".woff"/>
        <remove fileExtension=".woff2"/>
        <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
        <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
        <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
        <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
        <mimeMap fileExtension=".webm" mimeType="video/webm" />
        <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
        <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
        <mimeMap fileExtension=".woff" mimeType="pplication/x-font-woff" />
        <mimeMap fileExtension=".woff2" mimeType="font/woff2" />
        </staticContent>
        </system.webServer>
        </configuration>

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 07:37 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com