• File not found "iframe"

    From Julio Di Egidio@21:1/5 to jonas.t...@gmail.com on Mon Jul 26 14:07:26 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Mon Jul 26 13:23:40 2021
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Jonas_Th=C3=B6rnvall?=@21:1/5 to All on Mon Jul 26 14:16:48 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)