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

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

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

by finite_automaton (#32696804) Attached to: Pakistan To Scour Google, Yahoo For Blasphemy
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

If it's not in the computer, it doesn't exist.

Working...