Greenguy's Board


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

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-10-29, 09:22 AM   #1
gamester
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: Oct 2006
Posts: 35
Aloha Licker4U

Just put this two line:
RewriteCond %{HTTP_REFERER} ^http://(www\.)?filez.*$
RewriteRule .*[Mm][Pp][Gg]$ [R,L]

at the bottom of this:

RewriteEngine on
# leave this line in allow empty referrers, remove to disallow empty referrers
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fuckpage\.com(:[0-9]+)?(/.*)?$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fannyfuck\.com(:[0-9]+)?(/.*)?$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*@)?1\.2\.3\.4(:[0-9]+)?(/.*)?$
RewriteRule .*\.(asf|mpg|mpeg|wmv|avi|rm|gif|jpeg|jpg|zip)$ - [NC,F,L]

I think this will help you
gamester is offline   Reply With Quote
Old 2006-10-29, 11:13 AM   #2
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Like this?

# -FrontPage-

#Options None


RewriteEngine on
# leave this line in allow empty referrers, remove to disallow empty referrers

RewriteCond %{HTTP_REFERER} !^$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fuckpage\.com(:[0-9]+)?(/.*)?$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fannyfuck\.com(:[0-9]+)?(/.*)?$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?1\.2\.3\.4(:[0-9]+)?(/.*)?$

RewriteRule .*\.(asf|mpg|mpeg|wmv|avi|rm|gif|jpeg|jpg|zip)$ - [NC,F,L]

RewriteCond %{HTTP_REFERER} ^http://(www\.)?filez.*$
RewriteRule .*[Mm][Pp][Gg]$ [R,L]

AddHandler server-parsed .htm .html

<Limit GET>
order allow,deny
deny from 62.212.84.16
allow from all
</Limit>

Last edited by Licker4U; 2006-10-29 at 11:19 AM..
Licker4U is offline   Reply With Quote
Old 2006-10-29, 01:57 PM   #3
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Yikes! I did something that stops me from using ../ to get images on my pages. Here is what I have:

# -FrontPage-

#Options None

RewriteEngine on

# leave this line in allow empty referrers, remove to disallow empty referrers

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://fuckpage.com [NC]

RewriteCond %{HTTP_REFERER} !^$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fuckpage\.com(:[0-9]+)?(/.*)?$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*fannyfuck\.com(:[0-9]+)?(/.*)?$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?([a-z0-9-]+\.)*best-wet-pussy\.com(:[0-9]+)?(/.*)?$ [NC]

RewriteCond %{HTTP_REFERER} !^http://(.*@)?1\.2\.3\.4(:[0-9]+)?(/.*)?$

RewriteCond %{HTTP_REFERER} !^http://www.fuckpage.com [NC]

RewriteCond %{HTTP_REFERER} ^http://(www\.)?fusker.*$ [OR]

RewriteCond %{HTTP_REFERER} ^http://(www\.)?xanga.*$ [OR]

RewriteCond %{HTTP_REFERER} ^http://(www\.)?distime.*$ [OR]

RewriteCond %{HTTP_REFERER} ^http://(www\.)?devilfinder.*$

RewriteCond %{HTTP_REFERER} ^http://(www\.)?filez.*$

RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ [R,L]

RewriteRule .*\.(asf|mpg|mpeg|wmv|avi|rm|gif|jpeg|jpg|zip)$ - [NC,F,L]

AddHandler server-parsed .htm .html

<Limit GET>
order allow,deny
deny from 62.212.84.16
allow from all
</Limit>

What do I need to change to prevent outside hotlinking but allow me to hotlink my own images?

Thanks for any input!
Licker4U 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 07:05 PM.


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