Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re:Is there a way to block Pakistan? (Score 1) 371 371

All things are possible, it's just a question of how much work you want to put into it.

is there a way to detect visitors who are (probably) in Pakistan (like, is there a specific block of IPs that is assigned to Pakistan)

http://www.find-ip-address.org/ip-country/

redirect them to a page explaining that you'd rather not risk getting a death sentence from Pakistan, so you are not willing to serve content in that jurisdiction?

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

"May the forces of evil become confused on the way to your house." -- George Carlin

Working...