Saltar al contenido

cuaderno de campo

anotaciones

Menú
  • casa
    • dinou del carrer nou
  • cocina
    • pan
    • repostería
    • verdura
  • huerto
    • instrucciones sobre el huerto
    • plano del número 29
    • huerto del año 2025
  • humanidades
    • fonoteca
    • galería
  • juego
    • colección de roms
    • steamos en steam deck
    • lista de juego
    • dosbox
  • linux
    • bash
    • sistema operativo
    • ssh
  • web
    • apache
    • css
    • html5
    • javascript
    • mysql
    • php
Menú

Etiqueta: rewriteengine

prevención del hotlinking de imágenes

Publicada el 1 de diciembre de 201726 de febrero de 2021 por ernesto
<IfModule mod_rewrite.c>
     RewriteEngine on
     RewriteCond %{HTTP_REFERER} !^$
     RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?poderna.com/.*$ [NC]
     RewriteRule .(jpg|png)$ http://poderna.com/archivo/imagen/editor.png [NC,R,L]
</IfModule>

tras poner en marcha el motor de rescritura con rewriteengine (mod_rewrite), se establecen dos condiciones mediante rewritecond:  si no hay http referer (!^$) o si éste no se corresponde con el dominio poderna.com

Más
Etiquetado como rewritecond, rewriteengine, rewriterule

RSS rutas fuera

  • Onslaught, Warlord, and New Skeletal Faces Tour 2026 25 de enero de 2026 Brett Stevens
  • Metal Listening Night (January 24, 2026) 24 de enero de 2026 Brett Stevens
  • Beats and yelling: Mütiilation 23 de enero de 2026 Hate Meditations
  • CAMINANDO ENTRE MONSTRUOS 09 (Bestiario Sonoro): Intruso blanco 22 de enero de 2026 Javier Resines
  • Messagate and the dark art of playlist metal 19 de enero de 2026 Hate Meditations
  • Beats and yelling shorts, 16th January 26 16 de enero de 2026 Hate Meditations
  • A guide to the Top Albums of 2025 14 de enero de 2026 hessianfirm
  • Thaumaturgy – Pestilential Hymns(2025) 12 de enero de 2026 Nicholas Mkhl
  • Mütiilation – Pandemonium of Egregores(2026) 11 de enero de 2026 Nicholas Mkhl

Archivo

cuaderno de campo 2011-2026