Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6959625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:17:47+00:00 2026-05-27T15:17:47+00:00

I’m working on a WebGL project. I’m using XMLHttpRequest to load shaders (text files),

  • 0

I’m working on a WebGL project. I’m using XMLHttpRequest to load shaders (text files), JSON models (text files). When I use XMLHttpRequest for a file with an unusual extension (such as .vs or .json), I will get a 404 status returned. If I rename that file to end in .txt or .html it will load fine (status 200). Any insight into what is limiting which files successfully are retrieved?

Sorry if this is a simple question, I’m new to web development. I’ve been unable to google fu an answer. I’m using IIS to serve the site locally.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:17:47+00:00Added an answer on May 27, 2026 at 3:17 pm

    I’m guessing this has nothing to do with XMLHttpRequest. What happens when you try accessing those resources directly, through the address bar in your web browser, or something like cURL?

    The default security configurations on IIS are most likely preventing serving of “unrecognized” files. You probably need to register MIME types for them, or disable the security configurations.

    Some details around this are available at http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/44aa974e-ad27-4800-adfb-13c4ae39a602.mspx?mfr=true . Note specifically:

    You can also configure IIS to serve undefined file types by adding a
    wildcard character (*) MIME type. Do not use wildcard MIME-types on
    production servers. Doing so can result in IIS serving unrecognized
    files and displaying sensitive information to users. Wildcard
    MIME-types are intended for testing purposes or in scenarios where
    Internet Server API (ISAPI) filters have been developed specifically
    to handle these wild card scenarios, for example, a custom
    authentication ISAPI.

    If you need additional assistance with this, http://serverfault.com may be a better place to ask for details on configuring IIS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have thousands of HTML files to process using Groovy/Java and I need to
I have a reasonable size flat file database of text documents mostly saved in
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I have a bunch of posts stored in text files formatted in yaml/textile (from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.