|
|
|
|
|
|
|
![]() |
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
![]() |
#1 |
Are you sure you're an accredited and honored pornographer?
Join Date: Apr 2004
Location: Hawaii
Posts: 69
|
Need a .htaccess expert for this one please?
I thought I had my .htaccess set up ok and most sites that need blocking are blocked but as many of my sites are Asian content I seem to be a constant target.
Anyway there are a few url's that I can't seem to block and I've no doubt it's an error on my .htaccess. The ones getting through include: http://www.aladding.com/ http://www.xiaosese.com/ http://photo.aisex.com/ http://xiaosese.com/ http://209.120.238.36/ http://www.xiaosese.net/ http://www.beyond8.com/ http://www.atv8.com/ http://aladding.com/ http://www.919120.com/ http://127.0.0.1-6-fg/ http://atv8.com/ My current .htaccess looks like this: RewriteEngine on RewriteOptions inherit RewriteCond %{HTTP_REFERER} ^.*a4ybbs.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*ourvenus.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*aladding.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*xiaosese.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*aisex.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*beyond8.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*atv8.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*919120.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*hostflofree.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*websamba.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*111-222.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*hylover.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*nudeangel.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*nudeangelbbs.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*amandalist.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^.*chatropolis.*$ [NC] RewriteRule /* http://www.a-world-of-sex.com/ex/ [R,L] ErrorDocument 404 http://www.a-world-of-sex.com/ex/ Can anybody suggest what's wrong with it and why the above domain names are still able to hotlink? Cheers in advance Lux |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#3 |
Stupid risks make life worth living
Join Date: Apr 2003
Location: Sweden
Posts: 385
|
how would a simple .htaccess look if you want to only let certain domains hotlink your pics and movies and all others to go to a redirect?
__________________
bexhag @ gmail.com skype: daniel.berglund1 |
![]() |
![]() |
![]() |
#4 |
WHO IS FONZY!?! Don't they teach you anything at school?
|
maybe this can help you out:
http://www.htaccesstools.com/block-hitbots/
__________________
GetBlogTraffic.com | A comprehensive list of blog traffic resources |
![]() |
![]() |
![]() |
#5 |
Vagabond
|
Have in mind that by redirecting all hotlink traffic to that page you will use up more bandwidth than just the single picture they are hotlinking.
The page you redirect to is 367kB including all pictures. So it's just to calculate what the total bw used is if they hotlink 10, 50 or 100 pics. It adds up. If bandwidth is a concern, use this RewriteRule instead: RewriteRule .* - [F] |
![]() |
![]() |
![]() |
#6 |
Are you sure you're an accredited and honored pornographer?
Join Date: Apr 2004
Location: Hawaii
Posts: 69
|
Thanks for all the suggestions guys but they're still sneakng through
![]() Lux |
![]() |
![]() |
![]() |
#7 |
WHO IS FONZY!?! Don't they teach you anything at school?
|
RewriteRule .* - [F]
what does this do?
__________________
GetBlogTraffic.com | A comprehensive list of blog traffic resources |
![]() |
![]() |
![]() |
#8 | |
Are you sure you're an accredited and honored pornographer?
Join Date: Apr 2004
Location: Hawaii
Posts: 69
|
Quote:
On your second point would you care to expand a bit as I'm not really too hot on .htaccess ![]() Thanks again for your intelligent response. Lux |
|
![]() |
![]() |
![]() |
#9 | |
Rock stars ... is there anything they don't know?
Join Date: Aug 2004
Posts: 10
|
Quote:
http://www.htaccesstools.com/block-hitbots/ allows you to block or redirect the hitbots or what ever it is. If you do not set a "Redirection URL" hits will just be blocked. |
|
![]() |
![]() |
![]() |
#10 | |
Are you sure you're an accredited and honored pornographer?
Join Date: Apr 2004
Location: Hawaii
Posts: 69
|
Quote:
I tried that tool and generated a .htaccess file but still some of the sites seem to be able to access my sites. Lux |
|
![]() |
![]() |
![]() |
#11 | |
Rock stars ... is there anything they don't know?
Join Date: Aug 2004
Posts: 10
|
Quote:
I just added a new tool, Block IPs. Use this if you want to block based on ip instead of http referer. http://www.htaccesstools.com/block-ips/ |
|
![]() |
![]() |
![]() |
#12 |
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
Join Date: Aug 2003
Location: maine
Posts: 447
|
Try a
deny from (numeric iaddress) |
![]() |
![]() |
![]() |
#13 | |
No offence Apu, but when they were handing out religions you must have been out taking a whizz
|
Quote:
I'm still having trouble combining 2 .htaccess files into one.. I need hotlink protection and hitbot blocking all in one.. When I put all the code into one .htaccess I mess everything up! ![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
#14 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Are you clearing your cache prior to checking if they can hotlink?
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#15 |
Are you sure this is the Sci-Fi Convention? It's full of nerds!
Join Date: Dec 2004
Location: The U.S.A
Posts: 267
|
What I do on my sites is just .htaccess allow certain sites to hotlink and disallow ALL others
__________________
Top Adult Writing Services icq 375-089-597 |
![]() |
![]() |
![]() |
#16 | |
Look at 'em. Watchin' my TV. Sittin on my couch. You better not be in my ass groove!
Join Date: Aug 2003
Posts: 465
|
Quote:
Good luck! cheers, Luke
__________________
HunkMoney+BritishBucks+LatinoBucks=50+ gay sites! |
|
![]() |
![]() |
![]() |
#17 | |
Are you sure you're an accredited and honored pornographer?
Join Date: Apr 2004
Location: Hawaii
Posts: 69
|
Quote:
Nice idea Luke thanks! I'd looked at the sites but didnt thnk about looking at the code. I'll give it a go. Lux |
|
![]() |
![]() |
![]() |
#18 | |
Rock stars ... is there anything they don't know?
Join Date: Aug 2004
Posts: 10
|
Quote:
![]() Feel free to post your htaccess questions on http://www.htaccesstools.com/board/ |
|
![]() |
![]() |
![]() |
#19 |
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
Join Date: Jun 2004
Posts: 175
|
have you sorted out the problem yet?
blocking each site that is hotlinking you is NOT the way to do it you need a htacess file that allows traffic from YOUR domain(s) and blocks EVERYONE else from hotlinking you let me know if you need a hand we will have it sorted real qwik for ya ![]()
__________________
THE BIGGEST LIST OF EPASSPORTE SPONSORS YOU HAVE EVER SEEN |
![]() |
![]() |
![]() |
#20 | |
No offence Apu, but when they were handing out religions you must have been out taking a whizz
|
Quote:
__________________
![]() |
|
![]() |
![]() |
![]() |
#21 | |
...and since we know an end will come it makes our living so much fun
|
Quote:
this sounds just awesome... wondering if asking a badly needed helping hand is fine with you? tia, digifan |cool| |
|
![]() |
![]() |
![]() |
|
|