• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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