Ämne: isapi rewrite
Visa ett inlägg
Oläst 2009-02-17, 21:08 #1
jake jake är inte uppkopplad
Har WN som tidsfördriv
 
Reg.datum: Jul 2003
Inlägg: 1 145
jake jake är inte uppkopplad
Har WN som tidsfördriv
 
Reg.datum: Jul 2003
Inlägg: 1 145
Hej,
jag har lagt följande kod i en fil .htaccess i mappen html för att hindra hotlink

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mindemo\.se/?.*$ [NC]
RewriteRule \.(?:gif|jpg)$ http://www.mindemo.se/App_Themes/Default/I...o-logo-beta.gif [L,NC]


på ett webbhotell med isapi rewrite

Men det verkar inte fungera.
Kan det vara något fel med koden? Ska filen döpas till något annat än .htaccess ?
jake är inte uppkopplad   Svara med citatSvara med citat