Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40315
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2021-07-26 14:07 -0700 |
| References | <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com> |
| Message-ID | <e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com> (permalink) |
| Subject | Re: File not found "iframe" |
| From | Julio Di Egidio <julio@diegidio.name> |
On Monday, 26 July 2021 at 22:23:46 UTC+2, jonas.t...@gmail.com wrote: > https://jtmidi.000webhostapp.com/ > > Someone good with debug and understand webservers, if you press synth properties a htmlfile with script is loaded into an iframe. > > If you then change synth to SC-88 in dropdownlist it will give a 404 file not found. > > It open the file on IIS without problem, and there really no debug information to get from Chrome? A 404 simply means there is no available resource at that address. You can see all HTTP errors by activating the Network tab of the debugger. The problem is Unix paths are case sensitive, while Windows paths aren't, and you have mixed ".HTML" and ".html" in your iframe URLs, as can be checked here: <https://jtmidi.000webhostapp.com/Devices/SC7.HTML> <https://jtmidi.000webhostapp.com/Devices/SC88.HTML> <https://jtmidi.000webhostapp.com/Devices/SC88.html> That said, I'd rather use ".html" which, together with ".htm", is the canonical extension. Anyway that doesn't matter much, as long as the content-type that is served with the file is the correct one. HTH, Julio
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
File not found "iframe" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-07-26 13:23 -0700
Re: File not found "iframe" Julio Di Egidio <julio@diegidio.name> - 2021-07-26 14:07 -0700
Re: File not found "iframe" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-07-26 14:16 -0700
csiph-web