GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Testing my .htaccess...can you view my website? (https://gfy.com/showthread.php?t=1025978)

TripleXPrint 06-09-2011 04:47 PM

Testing my .htaccess...can you view my website?
 
I just updated my .htaccess file to block certain countries. I know GFY is global, so if you could please click the link and see if my page loads. After you do that, can you please post either yes or no and what country you are in.

http://www.screw-you.com/ - the ultimate revenge video site...one day. :winkwink:

Thanks compadres, comrads, friends, and amigos!

jimmycooper 06-09-2011 04:48 PM

Yes, USA

CYF 06-09-2011 04:48 PM

yes, minneapolis.

alias 06-09-2011 04:51 PM

Logo name, Canada.

Does the config you are using allow for redirect or just block?

DVTimes 06-09-2011 04:57 PM

yes

uk

TripleXPrint 06-09-2011 04:59 PM

Quote:

Originally Posted by alias (Post 18205751)
Logo name, Canada.

Does the config you are using allow for redirect or just block?

I have it set to block everything but the united states and canada.

Aussie Rebel 06-09-2011 05:06 PM

Yes Australia

V_RocKs 06-09-2011 05:07 PM

California is good

u-Bob 06-09-2011 05:07 PM

" Logo name"

loads, Western EU

btw: site is slooooooooooooooow

harvey 06-09-2011 05:25 PM

yes, Tralfamadore :thumbsup

Kiopa_Matt 06-09-2011 05:33 PM

Yes in Thailand.

SDA CASH - Banned for Life AGAIN 06-09-2011 05:34 PM

yes very much so USA

CYF 06-09-2011 05:38 PM

Quote:

Originally Posted by TripleXPrint (Post 18205770)
I have it set to block everything but the united states and canada.

doesn't look like it's working then.

AnimeFevers 06-09-2011 05:59 PM

Yes from UK

TripleXPrint 06-09-2011 06:11 PM

Quote:

Originally Posted by CYF (Post 18205842)
doesn't look like it's working then.

That's what I'm thinking. :disgust

What the fuck...this sucks!

redwhiteandblue 06-09-2011 06:14 PM

I voted on your video, from the UK :thumbsup

lagcam 06-09-2011 06:26 PM

Quote:

Originally Posted by Kiopa_Matt (Post 18205832)
Yes in Thailand.

Seconded.

alias 06-09-2011 06:40 PM

Back to the drawing board I guess.

SIK 06-09-2011 06:56 PM

yeah, croatia

TripleXPrint 06-09-2011 07:09 PM

Quote:

Originally Posted by alias (Post 18205922)
Back to the drawing board I guess.

That's what it looks like. :Oh crap

fitzmulti 06-09-2011 07:10 PM

Yes, Las Vegas

Juicy D. Links 06-09-2011 07:11 PM

Yes - New York

bean-aid 06-09-2011 07:12 PM

put "deny from all" then add ip-ranges from these
two files. just cut and paste. yes, is a *lot* of data;
but that's how you do it :)

https (ok colon and dbl fwd slash) www (a dot) countryipblocks.net/e_country_data/US_allow (this is the dot) txt
https (ok colon and dbl fwd slash) www (a dot) countryipblocks.net/e_country_data/CA_allow (this is the dot) txt

TripleXPrint 06-09-2011 07:28 PM

Quote:

Originally Posted by beaner (Post 18205977)
put "deny from all" then add ip-ranges from these
two files. just cut and paste. yes, is a *lot* of data;
but that's how you do it :)

https (ok colon and dbl fwd slash) www (a dot) countryipblocks.net/e_country_data/US_allow (this is the dot) txt
https (ok colon and dbl fwd slash) www (a dot) countryipblocks.net/e_country_data/CA_allow (this is the dot) txt

That's pretty much what I did and it doesn't seem to be working.

bean-aid 06-09-2011 07:31 PM

Quote:

Originally Posted by TripleXPrint (Post 18205998)
That's pretty much what I did and it doesn't seem to be working.

Then you have something wrong with your deny all statement... post it here... i'm sure it is very simple

TripleXPrint 06-09-2011 07:53 PM

Quote:

Originally Posted by beaner (Post 18206003)
Then you have something wrong with your deny all statement... post it here... i'm sure it is very simple

Here's what I have.....

Code:

<Limit GET HEAD POST>
order deny,allow
# Country: CANADA
# ISO Code: CA
# Total Networks: 5,962
# Total Subnets:  79,799,036
allow from 24.36.0.0/16
allow from 24.37.0.0/16
allow from 24.38.144.0/20
allow from 24.48.0.0/17...a bunch more IPs

********* IP Ranges Cont.**************

## Country: UNITED STATES
# ISO Code: US
# Total Networks: 39,183
# Total Subnets:  1,526,014,462
allow from 3.0.0.0/8
allow from 4.0.0.0/8
allow from 6.0.0.0/8
allow from 7.0.0.0/8
allow from 8.0.0.0/8
allow from 9.0.0.0/8
allow from 11.0.0.0/8...a bunch more IPs

********* IP Ranges Cont.**************

#
deny from all
</Limit>


bean-aid 06-09-2011 07:58 PM

order allow deny
deny from all
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx

.............etc.

paste every IP from the links I posted originally and it will work like you want

Agent 488 06-09-2011 07:59 PM

working fine in Qinghai Province.

glowlite 06-09-2011 09:39 PM

It's pretty difficult to keep your htaccess accurately updated.
There's a free version @ MaxMind that works great.

1) Upload the MaxMind data file to your server. (be sure to FTP it as binary)
2) Add a couple PHP snippets to your pages.

The data file is updated the 1st of each month so you need to download/upload the new file monthly. It's quite accurate for a free solution.

How to use MaxMind GeoIP for websites:
http://www.finalwebsites.com/forums/...p-for-websites

MaxMind: http://www.maxmind.com/app/geolitecountry
Database file download link: http://geolite.maxmind.com/download/...y/GeoIP.dat.gz

scarlettcontent 06-10-2011 11:13 AM

yes uk :thumbsup

TripleXPrint 06-10-2011 11:50 AM

Quote:

Originally Posted by beaner (Post 18206033)
order allow deny
deny from all
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx

.............etc.

paste every IP from the links I posted originally and it will work like you want

Ok, I tried that. Can anyone see if it loads now?

http://www.screw-you.com/

Thanks for the advice.

IllTestYourGirls 06-10-2011 11:54 AM

Yes Nigeria....


































just kidding Yes USA

18teens 06-10-2011 01:13 PM

Yes in Detroit.

greg80 06-10-2011 01:30 PM

yes, works in eu, nice design :)

Babaganoosh 06-10-2011 02:34 PM

You're going about it the wrong way. Use GeoIP.

ntesic 06-10-2011 02:39 PM

Yes - Serbia


All times are GMT -7. The time now is 11:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123