Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/12/2011, 15:22
truskyvb
 
Fecha de Ingreso: octubre-2008
Mensajes: 188
Antigüedad: 16 años, 6 meses
Puntos: 3
Web.Config Evitar linkado imágenes

Hola a todos. Os pido ayuda con el Web.Config.
El tema es que para evitar el linkado de imágenes tengo el fichero Web.config.
El fichero funciona pero tanto si entras en la página desde Yahoo o Bing (no he probado con más buscadores) no muestra las imágenes, sin embargo desde Google no hay problema y no se como arreglarlo.

Gracias de antemano.

El código del fichero es::

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Prevent Hotlinking" stopProcessing="true">
<match url=".*\.(gif|jpg|png|exe|zip)$" />
<conditions>
<add input="{HTTP_REFERER}" pattern="^$" negate="true" />
<add input="{HTTP_REFERER}" pattern="http://wwwdominio.com/.*" negate="true" />
</conditions>
<action type="AbortRequest" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>