Am 22.03.20 um 17:16 schrieb Per Jessen:
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 ?
No idea how this comes there, you must have such an image in your img folder.... There should be the logo-img, and when I click on it to show the img it shows me http://www.jessen.ch/img/logo_small.png which contains that string. There is none of my scripts in that file. But it links to googles ajax/jquery and to a google font. That doesn't make any difference anyway.
Of course your local resources are not found, but the page actually loads.
I would be tempted to remove all javascript and see if that makes any difference. A desperate suggestion :-)
It doesn't matter, because I cannot load any file from another device on the local net that is not *.php or *.txt. I get the described error for example for 192.168.1.38/img/logo_small.png or 192.168.1.38/css/karls.css It's also not a problem of the subfolder, because I also cannot load any such files that are located in any other folder. I checked the permissions of the folders, and also the apache log shows that they are loaded correctly. But in the browser I receive that error... Strange. It runs perfectly on the same machine, and also on the online server: https://karls.es/index2.php I guess somehow apache doesn't like my local net, or it is something in my firewall? or in the router? Or??? -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- 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