...

View Full Version : Problem with a .htaccess against hotlinking



aideinfo
10-18-2003, 06:28 PM
I've made a .htaccess against hotlinking, but the server send a 500 error !



RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.ericfichot.webdynamit.net [NC]
RewriteCond %{HTTP_REFERER} !^http://ericfichot.webdynamit.net [NC]
RewriteCond %{HTTP_REFERER} !^http://aideinfo.eu.org [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aideinfo.eu.org [NC]
RewriteCond %{HTTP_REFERER} !^http://monsite1.com [NC]

RewriteRule /* http://aideinfo.eu.org/monimage.gif [R,L]


where is the problem ?
I've replaced RewriteCond by RewirteRule, but the result is the same.

gbourque
10-30-2003, 03:21 AM
One of the examples that I have show the following

ReWriteRule \. (gif | jpg)$ - [F]

I do not know, but could it be that the / in your last line should be \

Jerry



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum