Ich habe mir einen Testumgebung mit Ubuntu gebaut und wollte darauf contao laufen lassen
das kannst du System läuft auf einem Proxmox mit einem Ubuntu 22 04 PHP 8.2 Der Server ist nicht öffentlich.
Contao liegt unter /var/www/contao dort zeigt doch ebenfalls der Apache hin . Die Ordnerberechtigung liegt bei 705
die Fehlermeldung ist
[2024-02-23T11:08:54.671345+01:00] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_ro ute":"contao_install","_scope":"backend","_token_c heck":true,"_controller":"Contao\\InstallationBund le\\Controller\\InstallationController::installAct ion"},"request_uri":"https://web/public/contao/install","method":"GET"} []
[2024-02-23T11:08:54.672469+01:00] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHtt pException: "Your installation is not secure. Please set the document root to the /var/www/contao/public subfolder." at /var/www/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 94 {"exception":"[object] (Contao\\CoreBundle\\Exception\\InternalServerErro rHttpException(code: 0): Your installation is not secure. Please set the document root to the /var/www/contao/public subfolder. at /var/www/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:94)\n[previous exception] [object] (Contao\\CoreBundle\\Exception\\InsecureInstallati onException(code: 0): Your installation is not secure. Please set the document root to the /var/www/contao/public subfolder. at /var/www/contao/vendor/contao/core-bundle/src/EventListener/InsecureInstallationListener.php:46)"} []
kann man irgendwie diese Fehlermeldung beseitigen und hat irgendjemand eine Idee wie man den Webserver so einrichtet das Contao ab 4.13 optimal drauf läuft
Lesezeichen