• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question HTTPDOCS files not being loaded on browser when adding just a single letter to the file

gerv

New Pleskian
Hi!
I recently have a problem with Plesk, I don't know if there is a misconfigured file, but whenever I add a new domain (so it has its defaults configurations) it seems that if the httpdocs have just one letter more than a limit (I have no idea of which limit is this), the file is just not being loaded.

For example:
my index.html
HTML:
<!DOCTYPE HTML>
<html>
    <head>
        <title>Infini Cinema - Proximamente</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
        <link rel="stylesheet" href="assets/css/main.css" />
        <link rel="icon" href="assets/css/images/logo.png" sizes="32x32">
        <noscript>
            <link rel="stylesheet" href="assets/css/noscript.css" />
        </noscript>
    </head>
    <body class="is-preload">
        <div id="wrapper">
            <video autoplay muted loop id="bgvideo">
                <source src="assets/css/videos/bg.mp4" type="video/mp4">
            </video>
            <div id="overlay"></div>
            <div id="main">
                <header id="header">
                    <h2>Comming Soon</h2>
                    <p></p>
                </header>
            </div>
        </div>
        <script>
            window.onload = function() { document.body.classList.remove('is-preload'); }
            window.ontouchmove = function() { return false; }
            window.onorientationchange = function() { document.body.scrollTop = 0; }
        </script>
    </body>
</html>

Loads correctly in chrome and I can see the full file content in the source

But if I just add a single letter between the <p> tags like this:
HTML:
<!DOCTYPE HTML>
<html>
    <head>
        <title>Infini Cinema - Proximamente</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
        <link rel="stylesheet" href="assets/css/main.css" />
        <link rel="icon" href="assets/css/images/logo.png" sizes="32x32">
        <noscript>
            <link rel="stylesheet" href="assets/css/noscript.css" />
        </noscript>
    </head>
    <body class="is-preload">
        <div id="wrapper">
            <video autoplay muted loop id="bgvideo">
                <source src="assets/css/videos/bg.mp4" type="video/mp4">
            </video>
            <div id="overlay"></div>
            <div id="main">
                <header id="header">
                    <h2>Comming Soon</h2>
                    <p>W</p>
                </header>
            </div>
        </div>
        <script>
            window.onload = function() { document.body.classList.remove('is-preload'); }
            window.ontouchmove = function() { return false; }
            window.onorientationchange = function() { document.body.scrollTop = 0; }
        </script>
    </body>
</html>

It doesn't load on the browser, and the chrome Network tab only says: "The request has no response data available" with a 200 status code

Does somebody know why is this happening?
 
Tackle it logically. Your page is loading css files, png, mp4 , and has inline scripting. Each of those use data from somewhere else on your system.

If you remove/rename all of those and you use only the plain html it'll work.
To pin in it down in practice, rename the mp4 and test (won't be the cause), then rename back. then rename the png (won't be the cause). then rename each of the css files and test. then take out the inline scripting. By the end you know whats causing it. You can then dig deeper into whats the cause within. :)
 
I tried, none of those files is causing it. It's still failing when adding just one more letter
 
Back
Top