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

  • Endless Dismal Moan – Curse of Underground Reissue 4 de abril de 2026 hessianfirm
  • Chupacabras, con Javier Resines, en El Templo de Hades 4 de abril de 2026 Javier Resines
  • CAMINANDO ENTRE MONSTRUOS 13 (Bestiario Sonoro): Nonell de la Neu 2 de abril de 2026 Javier Resines
  • Beats and yelling: Protrusion 2 de abril de 2026 Hate Meditations
  • I am about to be “fooled” by AI music and that doesn’t matter 31 de marzo de 2026 Hate Meditations
  • Beats and yelling shorts, 25th March 26 25 de marzo de 2026 Hate Meditations
  • Criaturas imposibles en Guinea Ecuatorial, de Javier Resines 25 de marzo de 2026 Javier Resines
  • Beats and yelling: Deathlike Dawn 23 de marzo de 2026 Hate Meditations
  • DEP Shane Rout de Abyssic Hate 22 de marzo de 2026 Iberian Darkness

Archivo

cuaderno de campo 2011-2026