View Single Post
Old 03-12-2006, 09:16 PM  
pr0
rockin tha trailerpark
 
pr0's Avatar
 
Industry Role:
Join Date: May 2001
Location: ~Coastal~
Posts: 23,088
htaccess help!!!

Heres what my htaccess looks like on a search engine cloaked domain i have going to a sponsor

RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule ^(.*)$ http://spsonsor.com/?111111 [R=301,L]


Now what i need to do, is block out all .gov, .us, .org & anything with the prefix k12....its part of my campaign to keep kids & people using public computers off my porn sites.

So how would i add that to my htaccess?
pr0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote