Retirer la protection .htaccess des fichiers 3D
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
Le Referer n'est pas transmis correctement dans ce contexte, le viewer était bloqué au même titre que les téléchargements directs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ebf787e9b1
commit
fc45c049a0
1 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
|||
Options -Indexes
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# Bloquer l'accès direct aux fichiers 3D :
|
||||
# - pas de Referer (URL tapée dans la barre, wget, curl sans headers)
|
||||
# - Referer venant d'un autre domaine (hotlinking)
|
||||
RewriteCond %{HTTP_REFERER} ^$ [OR]
|
||||
RewriteCond %{HTTP_REFERER} !^https?://%{HTTP_HOST}/ [NC]
|
||||
RewriteRule \.(gltf|glb|obj|bin|fbx)$ - [F,L]
|
||||
</IfModule>
|
||||
Loading…
Add table
Add a link
Reference in a new issue