When at the root of the DocumentRoot, the path to scripts is rewritten as //js.php… and then refers to http://js.php for example, which is obviously not working (important as it breaks the script on such a config).
If we are not logged in, js.php returns the login page.
//js.php…
and then refers tohttp://js.php
for example, which is obviously not working (important as it breaks the script on such a config).js.php
returns the login page.