Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40314 > unrolled thread
| Started by | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| First post | 2021-07-26 13:23 -0700 |
| Last post | 2021-07-26 14:16 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.javascript
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
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-07-26 13:23 -0700 |
| Subject | File not found "iframe" |
| Message-ID | <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com> |
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?
[toc] | [next] | [standalone]
| From | Julio Di Egidio <julio@diegidio.name> |
|---|---|
| Date | 2021-07-26 14:07 -0700 |
| Message-ID | <e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com> |
| In reply to | #40314 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-07-26 14:16 -0700 |
| Message-ID | <e9ba50ff-3980-4c79-a9ad-7bd6c9d51fe1n@googlegroups.com> |
| In reply to | #40315 |
måndag 26 juli 2021 kl. 23:07:31 UTC+2 skrev ju...@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 Thanks Julio, i was so sure i had checked big small letters, because i know that Linux/Unix servers case sensitive. But apparently i must looked at wrong place/file.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web