RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

<Files "saisie-tableau.php">
    AuthName "Curthis"
    AuthType Basic
    AuthUserFile "/home/ndombibukaka/public_html/webinventory.ndombibukaka.projetsmmichamps.fr/.htpasswd"
    Require valid-user
</Files>