# Nœud ShareIt — Apache/mod_php (mutualisé ou PC).

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Rendre l'en-tête Authorization visible en PHP (souvent stripé par Apache).
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  # Tout ce qui n'est pas un fichier/dossier réel -> front controller.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^ index.php [L]
</IfModule>

# Limites d'upload (mod_php). Défauts mutualisés souvent trop bas pour les médias.
<IfModule mod_php.c>
  php_value upload_max_filesize 1024M
  php_value post_max_size 1024M
  php_value max_execution_time 300
  php_value max_input_time 300
</IfModule>
