|
![]() |
![]() |
![]() |
![]() |
![]() |
|
![]() |
#1 |
Are you sure you're an accredited and honored pornographer?
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! |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
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 |
![]() |
![]() |
![]() |
#3 |
Are you sure you're an accredited and honored pornographer?
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 |
![]() |
![]() |
![]() |
#4 |
If something goes wrong at the plant, blame the guy who can't speak English
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 |
![]() |
![]() |
![]() |
#5 |
If something goes wrong at the plant, blame the guy who can't speak English
Join Date: May 2006
Posts: 306
|
__________________
Submit Your TGP Galleries Last edited by WarBot; 2006-07-28 at 10:40 AM.. |
![]() |
![]() |
![]() |
#6 |
Are you sure you're an accredited and honored pornographer?
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 |
![]() |
![]() |
![]() |
#7 |
a.k.a. Sparky
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 |
![]() |
![]() |
![]() |
|
|