Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-02-14, 07:43 PM   #1
BlueQuartz
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
BlueQuartz's Avatar
 
Join Date: Jun 2004
Posts: 175
have you sorted this out yet?

best way is to drop a htacess in your root and allow requests from your domain only

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://your-ip [NC]
RewriteRule [^/]+\.(exe|mpeg|mpg|avi|mp3|gif|jpg|JPG|GIF|MP3|AVI|JS|js)$ - [F]
RewriteRule ^/cgi-bin/.+$ - [F]
AddHandler server-parsed html
ErrorDocument 404 http://www.yourdomain.com/404.htm
BlueQuartz is offline   Reply With Quote
Old 2005-02-15, 01:37 PM   #2
Mr. Blue
Searching for Jimmy Hoffa
 
Mr. Blue's Avatar
 
Join Date: Jan 2005
Location: Long Island, NY
Posts: 771
Actually I have sorted it...I hadn't realized just how much you could do with htaccess

I'm glad I sorted it out a week ago...someone decided to fusker me recently and it would have cost a pretty penny in bandwidth if I didn't have this in place, lol.
Mr. Blue is offline   Reply With Quote
Old 2005-02-15, 02:56 PM   #3
BlueQuartz
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
BlueQuartz's Avatar
 
Join Date: Jun 2004
Posts: 175
Quote:
Originally Posted by Mr. Blue
Actually I have sorted it...I hadn't realized just how much you could do with htaccess

I'm glad I sorted it out a week ago...someone decided to fusker me recently and it would have cost a pretty penny in bandwidth if I didn't have this in place, lol.

ok thats awesome man - all the best
BlueQuartz is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:42 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc