1
altenergy
How to block my own country?
  • 2007/8/8 15:33

  • altenergy

  • Just popping in

  • Posts: 44

  • Since: 2007/7/17


Hello everybody!
I'd like to block my own country, in a way that people coming from my country will get a login page and login to their account before they can access the main page.
If that's not possible, I'd like to make myself the only one from my country to access the website, a hard thing itself, since my internet connection is dsl, and it changes every time I login the internet.

Anybody knows how?
Thanks,
Ron(;

2
Mantooth
Re: How to block my own country?
  • 2007/8/8 20:11

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


I think you can do that with an .htaccess file

you'll have to block the I.P. address range for your whole country but exclude yours from the file. Since your I.P. address changes, you'd have to update the .htaccess file every time, i think.
...


I hate Mortal Kombat

3
altenergy
Re: How to block my own country?
  • 2007/8/9 5:29

  • altenergy

  • Just popping in

  • Posts: 44

  • Since: 2007/7/17


Isn't there any script?

Just to take visitors to a blank page will do the work.
I'll write my domain and /index.php, while they will see a blank page and won't know what happen...

Login

Who's Online

242 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits