Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Polls on the front page of Slashdot? Is the world coming to an end?! Nope; read more about it. ×

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

"To take a significant step forward, you must make a series of finite improvements." -- Donald J. Atwood, General Motors

Working...