Forum Moderators: coopster & phranque

Message Too Old, No Replies

htaccess not working ?

hum,,,,,,,,, its not working

         

CaptainKarl

5:36 pm on Dec 28, 2001 (gmt 0)



Im trying every thing i can, last atemped below.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?atdomain.net/folder1/folder2/.*$ [NC]
RewriteRule \.(.¦avi)$ - [F]

saved as .htaccess on root of atdomain.net

Maybe i need to tell it all files ? not just a floder. If theres a comand for all file in folder that's what im looking for " Im not tring stop people from D/L only tring to keep leeching programs from donwloading in big soops, " every file in folders " .

Air

6:12 pm on Jan 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think I really understand why rewrite is your approach, why not just add an index file to the folder and then it won't be possible to get a folder listing, it will force each file to be requested by name.