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


Groups > comp.lang.javascript > #40315

Re: File not found "iframe"

X-Received by 2002:a05:620a:1227:: with SMTP id v7mr408331qkj.3.1627333647225; Mon, 26 Jul 2021 14:07:27 -0700 (PDT)
X-Received by 2002:aca:4288:: with SMTP id p130mr12936886oia.80.1627333647058; Mon, 26 Jul 2021 14:07:27 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.lang.javascript
Date Mon, 26 Jul 2021 14:07:26 -0700 (PDT)
In-Reply-To <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=93.41.98.159; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host 93.41.98.159
References <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com> (permalink)
Subject Re: File not found "iframe"
From Julio Di Egidio <julio@diegidio.name>
Injection-Date Mon, 26 Jul 2021 21:07:27 +0000
Content-Type text/plain; charset="UTF-8"
Lines 21
Xref csiph.com comp.lang.javascript:40315

Show key headers only | View raw


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


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