Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Newbie Questions (http://www.greenguysboard.com/board/forumdisplay.php?f=5)
-   -   HELP! I'm being fuskered (http://www.greenguysboard.com/board/showthread.php?t=33283)

nomad 2006-07-28 10:11 AM

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!

cd34 2006-07-28 10:17 AM

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.

nomad 2006-07-28 10:25 AM

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

WarBot 2006-07-28 10:31 AM

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.

cd34 2006-07-28 10:35 AM

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]

WarBot 2006-07-28 10:36 AM

test link
http://www.canadafreeporn.com/canadafreeporn.jpg

test hotlink
http://www.canadafreeporn.com/canadafreeporn.jpg

nomad 2006-07-28 10:49 AM

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|thumb

Teebs

nomad 2006-07-28 10:51 AM

Checking
 
And check to make sure my gallery images are OK?

http://www.canadafreeporn.com/virgins80/virgins80.htm

nomad 2006-07-28 11:15 AM

Wow WarBot,

This .htaccess file seems really complicated. What else is it supposed to do?

virgohippy 2006-07-28 03:56 PM

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. |loony|

You're gallery page loads fine by me. ;)

nomad 2006-07-29 03:13 PM

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.":D :D :D

virgohippy 2006-07-29 03:34 PM

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

nomad 2006-07-29 04:21 PM

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:D

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

Many thanx your worship|thumb

virgohippy 2006-07-29 06:15 PM

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?

nomad 2006-07-29 08:44 PM

Sounds great!
Message sent.
Thanx a lot Virgo|thumb

virgohippy 2006-07-29 09:25 PM

no worries.

email with images sent. |thumb

nomad 2006-07-29 09:37 PM

I owe you one|bananna|

Cheers!
Teebs

nomad 2006-07-29 09:51 PM

AAAHHH, I know.
I'll start submitting to your sites|thumb

Cheers!

virgohippy 2006-07-29 10:13 PM

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. |thumb

nomad 2006-07-29 10:21 PM

OK, Thanx

WarBot 2006-07-30 01:03 AM

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 :)

nomad 2006-07-30 01:12 AM

Ya WorBot, I went with Virgo's suggestion and it worked. Thanx a lot anyway|thumb

Cheers!
Teebs

virgohippy 2006-07-30 02:52 AM

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. :D

nomad, submissions are open again. |thumb

nomad 2006-07-30 12:03 PM

Quote:

Originally Posted by virgohippy

nomad, submissions are open again. |thumb

OK, will start sending traffic|bow|

virgohippy 2006-07-30 02:44 PM

Much appreciated. |thumb

And relax hun. I'm just a newbie with a bit of experience with some things. ;)

nomad 2006-07-30 07:39 PM

Hi Virgo again,

I just tried submitting to your TGP, but after I submit, I'm directed back to the submit page. No confirmation or anything. How do we know our galleries are getting through?|huh

Cheers!

virgohippy 2006-07-30 08:18 PM

I got your galleries, no worries. They look good. |thumb

Haven't gotten to that yet since the script change last night. Sorry.

Updating my LL script, and helping out a friend was a higher priority. :D

I'll get back to the TGP in a bit. |thumb

nomad 2006-07-30 08:27 PM

OK, just wanted to be sure u got it

JustRobert 2006-07-30 09:28 PM

Quote:

Originally Posted by virgohippy
Updating my LL script, and helping out a friend was a higher priority. :D

Let me publicly say thanks for helping me out before I got attacked as well. For all your hard work treat yourself to some |boobies|

virgohippy 2006-07-30 09:44 PM

Quote:

Originally Posted by JustRobert
Let me publicly say thanks for helping me out before I got attacked as well. For all your hard work treat yourself to some |boobies|

Least I could do. |thumb


All times are GMT -4. The time now is 02:18 PM.

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