Hallo zusammen,
ich bekomme bei einer neuen Contao 5.6 Installation, die einwandfrei läuft und erreichbar ist, minütlich 24/7 eine Fehlermeldung unter var/log, die besagt, dass die Installation unsicher ist und ich das Document Root Verzeichnis auf das /public Unterverzeichnis verlinken soll, was ich aber gemacht habe! (InsecureInstallationException). Das nervt und kann ja nicht so bleiben. Das Rootverzeichnis /public habe ich beim Hoster korrekt eingerichtet, der findet auch keinen Fehler. Contao Cache hab ich auch gelöscht. Das Problem muss irgendwie bei Contao liegen. Ich weiss nicht mehr weiter...
Im voraus schon mal vielen Dank für Tipps und Unterstützung
Hier die Fehlermeldung:
Code:[2026-02-23T17:34:13.963063+01:00] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "Your installation is not secure. Please set the document root to the /home/p-burxwd/html/contao57/public subfolder." at ExceptionConverterListener.php line 87 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): Your installation is not secure. Please set the document root to the /home/p-burxwd/html/contao57/public subfolder. at /home/p-burxwd/html/contao57/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:87)\n[previous exception] [object] (Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /home/p-burxwd/html/contao57/public subfolder. at /home/p-burxwd/html/contao57/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:45)\n[previous exception] [object] (Contao\\CoreBundle\\Exception\\InternalServerErrorHttpException(code: 0): Your installation is not secure. Please set the document root to the /home/p-burxwd/html/contao57/public subfolder. at /home/p-burxwd/html/contao57/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:87)\n[previous exception] [object] (Contao\\CoreBundle\\Exception\\InsecureInstallationException(code: 0): Your installation is not secure. Please set the document root to the /home/p-burxwd/html/contao57/public subfolder. at /home/p-burxwd/html/contao57/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:45)"} {"request_uri":"https://pagerx.de/contao57/public/","request_method":"GET"} [2026-02-23T17:34:13.970171+01:00] messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://pagerx.de/contao57/public/","request_method":"GET"}

Zitieren
Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.
