View Single Post
Old 02-14-2005, 09:44 AM  
nico-t
emperor of my world
 
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
htaccess in a folder

i got the root htaccess file blocking hotlinking now.
Now i want 1 folder on my site to not have this. BUT, that folder does have to block fusker shit and stuff.
My htaccess code in the root is ok now, so i thought i could get another htaccess file in the folder like this one:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*fusker*.*$ [NC]
RewriteCond %{HTTP_REFERER} ^.*usefulidiot*.*$ [NC]
RewriteRule \.(jpe?g|gif|bmp|png)$ des/test/hotlinkimg-d.gif [L]

But that doesnt work... Please someone give me a link about this or explain how i can do this, i searched google and i been searching for this whole afternoon and still found nothing i can use.
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote