# ═══════════════════════════════════════════════════════════════════════
#  Piaschool — transmettre l'en-tête Authorization à PHP (o2switch/Apache)
#  À placer dans le dossier du portail (à côté de sync.php).
# ═══════════════════════════════════════════════════════════════════════
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP:Authorization} .+
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_setenvif.c>
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</IfModule>
