DocumentRoot /var/www/public SetEnv APP_DEBUG ${APP_DEBUG} SetEnv APP_ENV ${APP_ENV} SetEnv HYDRA_ADMIN_BASE_URL ${HYDRA_ADMIN_BASE_URL} SetEnv TRUSTED_PROXIES ${TRUSTED_PROXIES} SetEnv LOGOUT_REDIRECT_URL_PATTERN ${LOGOUT_REDIRECT_URL_PATTERN} # Création d'un alias pour réécrire gérer le préfixe /auth/saml Alias "/auth/saml" "/var/www/public" AllowOverride None Order Allow,Deny Allow from All RewriteEngine On # Remapping de l'ensemble des chemins en /auth/saml RewriteBase /auth/saml RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,L] CustomLog /dev/stdout combined ErrorLog /dev/stderr