Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The solution of this problem is trivial and is left as an exercise for the reader.


devel / comp.lang.javascript / Re: File not found "iframe"

SubjectAuthor
* File not found "iframe"Jonas Thörnvall
`* Re: File not found "iframe"Julio Di Egidio
 `- Re: File not found "iframe"Jonas Thörnvall

1
File not found "iframe"

<87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17195&group=comp.lang.javascript#17195

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:1882:: with SMTP id cx2mr19603214qvb.2.1627331021224;
Mon, 26 Jul 2021 13:23:41 -0700 (PDT)
X-Received: by 2002:a9d:3a1:: with SMTP id f30mr13186853otf.195.1627331020976;
Mon, 26 Jul 2021 13:23:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!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 13:23:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com>
Subject: File not found "iframe"
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 26 Jul 2021 20:23:41 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jonas Thörnvall - Mon, 26 Jul 2021 20:23 UTC

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?

Re: File not found "iframe"

<e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17196&group=comp.lang.javascript#17196

  copy link   Newsgroups: comp.lang.javascript
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: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.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>
Subject: Re: File not found "iframe"
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Mon, 26 Jul 2021 21:07:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 21
 by: Julio Di Egidio - Mon, 26 Jul 2021 21:07 UTC

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

Re: File not found "iframe"

<e9ba50ff-3980-4c79-a9ad-7bd6c9d51fe1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17197&group=comp.lang.javascript#17197

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ac8:584e:: with SMTP id h14mr16497901qth.339.1627334208877; Mon, 26 Jul 2021 14:16:48 -0700 (PDT)
X-Received: by 2002:a05:6808:8d2:: with SMTP id k18mr12651781oij.176.1627334208636; Mon, 26 Jul 2021 14:16:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.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:16:48 -0700 (PDT)
In-Reply-To: <e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.164.86; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.164.86
References: <87ab49ca-9a79-458f-ad66-95b0a861ed54n@googlegroups.com> <e91ac8be-e484-4d88-b469-e15cf2d9e03dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9ba50ff-3980-4c79-a9ad-7bd6c9d51fe1n@googlegroups.com>
Subject: Re: File not found "iframe"
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Mon, 26 Jul 2021 21:16:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: Jonas Thörnvall - Mon, 26 Jul 2021 21:16 UTC

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.


devel / comp.lang.javascript / Re: File not found "iframe"

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor