Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38916

Re: IIS http.open "GET" error

Newsgroups comp.lang.javascript
Subject Re: IIS http.open "GET" error
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References (4 earlier) <1b936f13-60b8-4c71-8e9c-cf3f55ac95aeo@googlegroups.com> <5a99baa7-f3dc-4cc7-9551-5a413e1e3105o@googlegroups.com> <eaa2a875-94c9-4f97-9f30-21b2cc1ab4c8o@googlegroups.com> <f46d3d9f-8eac-4974-9b61-20be4ec2c31do@googlegroups.com> <446322ac-b1bb-4a81-813e-a20b9be2a4e4o@googlegroups.com>
Date 2020-10-08 15:22 +0200
Message-ID <XnsAC509C56C4719eejj99@194.109.6.166> (permalink)

Show all headers | View raw


Julio Di Egidio <julio@diegidio.name> wrote on 08 Oct 2020 in 
comp.lang.javascript:

> On Thursday, 8 October 2020 04:27:07 UTC+2, Jonas Thörnvall  wrote:
>> Den torsdag 8 oktober 2020 kl. 02:30:35 UTC+2 skrev Julio Di Egidio:
>> > On Thursday, 8 October 2020 02:20:53 UTC+2, Julio Di Egidio  wrote:
>> > > On Wednesday, 7 October 2020 20:59:48 UTC+2, Jonas Thörnvall  wr
> ote:
>> > > 
>> > > > Well i changed the extension to TXT and it now works, do anyone
>> > > > know where to set the allowed extensions to download in IIS?
>> > > 
>> > > Yes.
>> > 
>> > <https://docs.microsoft.com/en-us/iis/configuration/system.webserver/st
> aticcontent/mimemap#how-to>
>> > 
>> > (Don't look at the sample code, just follow the how-to section...)
>> 
>> Thanks Julio, unfortunately it must be something more then set the
>> mimetype to plain/text to allow the extension for HTTP GET in IIS
>> server.
> 
> Forgot to mention that you'll need to restart the web site in
> question in order for the new config to be picked up: stop the
> site then start it again from the IIS admin.  If that's too
> difficult (or not enough, it really depends on the details of
> your setup), just reboot the computer.
> 
>> It is no problem for me to use TXT as extension
> 
> Assuming you have tried to just change the extension of the
> file, not used other files, then the above must work or it's
> you messing up (for example "plain/text"??!).
> 
> Notice that it is actually important to use at least a mime
> type such that the web server serves the file as text, not
> binary (in this case), but also a mime type that the browser
> understands: so do go for "text/plain".

The mine type nees to be "text/html".

<https://www.trivantis.com/help/CourseMill/7.4/en/Troubleshooting/Content/Tr
oubleshooting_mime.html>




-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:23 -0700
  Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:34 -0700
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:35 -0700
  Re: IIS http.open "GET" error John G Harris <niam@jghnorth.org.uk.invalid> - 2020-10-07 18:01 +0100
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 10:18 -0700
      Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 11:51 -0700
        Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 11:59 -0700
          Re: IIS http.open "GET" error "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-10-07 21:14 +0200
          Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-07 17:20 -0700
            Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-07 17:30 -0700
              Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 19:26 -0700
                Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-08 10:38 +0200
                Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-08 02:07 -0700
                Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-08 05:49 -0700
                Re: IIS http.open "GET" error "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-10-08 15:22 +0200
                Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-08 06:30 -0700
  Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 12:03 +0200
    Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-09 17:33 +0200
      Re: IIS http.open "GET" error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-10-09 18:14 +0200
        Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-09 19:38 +0200
          Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-11 03:30 -0700
      Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:49 +0200
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-09 11:06 -0700
      Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:52 +0200

csiph-web