Forum Moderators: phranque

Message Too Old, No Replies

.htaccess problem - they're stealing my bandwidth =0(

         

cdog863

7:35 pm on Feb 20, 2005 (gmt 0)

10+ Year Member



I have this .htaccess file, which works, but the problem is it works against my site also lol.

People are hotlinking my video clips like crazy, it needs to stop, can anyone help me out?

here's the code ---

# -FrontPage-

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com$ [NC]
RewriteRule .*\.(jpg夸peg夙if如ng在mp安mv地sf妃pg妃peg地vi妃ov存wf)$ - [F,NC]

---------

i have this in my videos/files folder.

[edited by: jdMorgan at 12:02 am (utc) on Feb. 22, 2005]
[edit reason] Examplified. [/edit]

jdMorgan

12:23 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



cdog853,

This recent thread [webmasterworld.com] may be helpful.

Jim