infomaniak

erreurs PHP

.user.ini

display_errors=on
error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT
display_errors=off

https://www.infomaniak.com/fr/support/faq/1115/afficher-les-erreurs-php-desactiver-les-warnings

hidden subdomains

.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    RewriteCond %{HTTP_HOST} !^www\.bugcore\.net$
    RewriteCond %{HTTP_HOST} ^(\w+)\.bugcore\.net$
    RewriteCond %{REQUEST_URI}:%1 !^/([^/]+)/([^:]*):\1
    RewriteRule ^(.*)$ /%1/web/$1 [END,QSA]
</IfModule>