Am 22.03.20 um 21:40 schrieb Dave Howorth:
On Sun, 22 Mar 2020 17:16:00 +0100 Per Jessen <per@computer.org> wrote:
Daniel Bauer wrote:
Am 22.03.20 um 09:39 schrieb Per Jessen:
Daniel Bauer wrote:
Hi,
when trying to access a file that isn't a .php or .txt file in /srv/www/htdocs/... from another device in the same local net (192.168.1.x) I get in chrome browser:
This page isn't working 192.168.1.38 unexpectedly closed the connection ERR_CONTENT_LENGTH_MISMATCH
[snip]
I can access /all/ files from a browser on the same machine where apache is running. The errors occur only when accessing from another device in the same wifi-net
another *mobile* device ?
I have three mobile phones, a very old Samsung, a Samsung S6, and a Huaway. They all show the same error.
Daniel, I was wondering if you maybe had a another computer, maybe laptop, to try your website with? That way you might be able to limit the issue to having to do with mobile devices.
I just tried from my laptop, running Opensuse - and the same result :-(
Hmm, I'm running out of things to say.
I took your HTML source and put it up on my own site -
I see a text in red at the top "A Simple Text Strin" - I guess that is added by some javascript ?
I see that text when I load it, and I have Javascript disabled by default. The text is prefaced by 'This page needs JavaScript activated to work.'
The website (not that sample page) makes heavy use of ajax/javascript. Therefore there is a <noscript> tag that wraps all the content into a div with style display:none in case that Javascript is disabled, and only the phrase you have seen is displayed. When Javascript is enabled the content within <noscript> is ignored, and the content shows normal. However this has no influence on the occurrence of the error I suffer. The error occurs also when loading any other file (a *.jpg, *.css ... whatever that is not .php or .txt) -- -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org