Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-07-28, 10:11 AM   #1
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
HELP! I'm being fuskered

I'm being fuskered. How can this be. I have this .htaccess file in my root and other domains?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [F]

# last line


What's wrong here? It worked before. Please someone help as my bandwidth is skyrocketing!
nomad is offline   Reply With Quote
Old 2006-07-28, 10:17 AM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
I can see that the rule is working because when you go to http://canadafreeporn.com/, the images are broken.

Check your log files to see what directories are being fuskered, make sure that you don't have AllowOverride none set on that directory.

Other than that, are there any other rules in the .htaccess that might prevent this rule from being hit? are the files named with JPG rather than jpg? Unix is case sensitive.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2006-07-28, 10:25 AM   #3
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
You're right, all my .jpg's used to be lower case now they're upper case. How do I change my .htaccess file?

I'm a total newbie at this. How do I modify this? Where do I add the .JPG in upper case? Can you rewrite my .htaccess for me PLEEEEAAASEEEE?



RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [F]

# last line
nomad is offline   Reply With Quote
Old 2006-07-28, 10:31 AM   #4
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
Join Date: May 2006
Posts: 306
Just in case he doesnt come back for a bit you can use this until someone has something better

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://([a-z0-9-]+\.)*canadafreeporn.com [NC]
RewriteRule .*[Jj][Pp][Ee]*[Gg]$|.*[Gg][Ii][Ff]$ http://www.canadafreeporn.com/error.gif
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.pornogallerypost\.com [NC]
RewriteRule (.*) http://www.canadafreeporn.com/$1 [R=301,L]
ErrorDocument 404 http://www.canadafreeporn.com

you can make error.gif a little gif picture that says

"visit canadafreeporn.com"

or something like that.
__________________
Submit Your TGP Galleries
WarBot is offline   Reply With Quote
Old 2006-07-28, 10:35 AM   #5
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
http://www.greenguysboard.com/board/...em#faq_hotlink

or, you could do something like:


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://canadafreeporn.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [NC,F]
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2006-07-28, 10:36 AM   #6
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
Join Date: May 2006
Posts: 306
test link
http://www.canadafreeporn.com/canadafreeporn.jpg

test hotlink
__________________
Submit Your TGP Galleries

Last edited by WarBot; 2006-07-28 at 10:40 AM..
WarBot is offline   Reply With Quote
Old 2006-07-28, 10:49 AM   #7
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Fusker

Thanx guys,

I re wrote it to this,

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.canadafreeporn.com/.*$ [NC]
RewriteRule \.(gif|jpg|JPG|js|css)$ - [F]

# last line

Adding the upper case JPG. It's seems to be working. Can you check and let me know?

http://www.trouserstew.com/fusker/in...026&offset=120


Thanx again all of you for instantly helping me out

Teebs
nomad is offline   Reply With Quote
Old 2006-07-28, 10:51 AM   #8
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Checking

And check to make sure my gallery images are OK?

http://www.canadafreeporn.com/virgins80/virgins80.htm
nomad is offline   Reply With Quote
Old 2006-07-28, 11:15 AM   #9
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Wow WarBot,

This .htaccess file seems really complicated. What else is it supposed to do?
nomad is offline   Reply With Quote
Old 2006-07-28, 03:56 PM   #10
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Looks like warbot's htaccess only allows hotlinking from your domain, and redirects outside links to an "error.gif" file. I've seen, and used, similar.

In fact, I think I remember one webmaster confessing to me that fusker stopped even trying to fuck 'em after they put something like that in place. I guess fusker doesn't want you stealing their traffic.

You're gallery page loads fine by me.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-29, 03:13 PM   #11
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Thanx for checking Virgo

re; "redirect outside links to an "error.gif" file."

How can I do that?

re; "I guess fusker doesn't want you stealing their traffic."
nomad is offline   Reply With Quote
Old 2006-07-29, 03:34 PM   #12
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
no worries.

just make an image file, a gif, named "error.gif" and save it in your root folder, so you can access it via:

http://www.yourdomain.com/error.gif
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-29, 04:21 PM   #13
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Quote:
Originally Posted by virgohippy
no worries.

just make an image file, a gif, named "error.gif" and save it in your root folder, so you can access it via:

http://www.yourdomain.com/error.gif
Thanx Virgo or hippy

I don't know how to make images. If you have the time, can you show me an example?

Many thanx your worship
nomad is offline   Reply With Quote
Old 2006-07-29, 06:15 PM   #14
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Send me your email address in a private message. I'll make an image for you. All it takes is a program like photoshop or illustrator.

Something that says "Free porn @ www.canadafreeporn.com" good?
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-29, 08:44 PM   #15
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Sounds great!
Message sent.
Thanx a lot Virgo
nomad is offline   Reply With Quote
Old 2006-07-29, 09:25 PM   #16
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
no worries.

email with images sent.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-29, 09:37 PM   #17
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
I owe you one

Cheers!
Teebs
nomad is offline   Reply With Quote
Old 2006-07-29, 09:51 PM   #18
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
AAAHHH, I know.
I'll start submitting to your sites

Cheers!
nomad is offline   Reply With Quote
Old 2006-07-29, 10:13 PM   #19
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Unfortunately, I just closed my submit form.

http://www.greenguysboard.com/board/...ad.php?t=33305

Cheaters come in all forms.

But I can let you know when I get the problem fixed.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-29, 10:21 PM   #20
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
OK, Thanx
nomad is offline   Reply With Quote
Old 2006-07-30, 01:03 AM   #21
WarBot
If something goes wrong at the plant, blame the guy who can't speak English
 
WarBot's Avatar
 
Join Date: May 2006
Posts: 306
Quote:
Originally Posted by nomad
Wow WarBot,

This .htaccess file seems really complicated. What else is it supposed to do?
It wont allow anyone thats not coming from your domain (or any blank referrer) to view your pics. And it also 301 redirects (moved permanently) anyone going to http://yourdomain.com to http://www.yourdomain.com

Virgo seems to know more about htaccess than I do. Id go with his code. Mines just a bunch of junk I threw together over the years. I wasnt sure how long it would be before someone responded to you and I knew mine would at least stop them till you got something better
__________________
Submit Your TGP Galleries
WarBot is offline   Reply With Quote
Old 2006-07-30, 01:12 AM   #22
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Ya WorBot, I went with Virgo's suggestion and it worked. Thanx a lot anyway

Cheers!
Teebs
nomad is offline   Reply With Quote
Old 2006-07-30, 02:52 AM   #23
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Actually warbot, I suggested nomad go with the code you suggested. Looks like it handles everything it needs to, and nothing more - the way things should. I just put together a little image to for nomad to use with it.

nomad, submissions are open again.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2006-07-30, 12:03 PM   #24
nomad
Are you sure you're an accredited and honored pornographer?
 
nomad's Avatar
 
Join Date: Feb 2004
Posts: 63
Quote:
Originally Posted by virgohippy

nomad, submissions are open again.
OK, will start sending traffic
nomad is offline   Reply With Quote
Old 2006-07-30, 02:44 PM   #25
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Much appreciated.

And relax hun. I'm just a newbie with a bit of experience with some things.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 09:52 PM.


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