Welcome to WebmasterWorld Guest from 54.242.224.250

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

CHINANET Beijing (Revisited)

Is this correct?

     
5:40 am on Feb 28, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 29, 2003
posts: 126
votes: 0


Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} 1\.202\.218\.8
RewriteRule \.php$ [siteiwillsendthemtoo.com...] [R=301,L]
*.
RewriteCond %{HTTP_USER_AGENT} ^Yandex [NC,OR]
RewriteRule ^.* - [F]
RewriteCond %{HTTP_REFERER} ^http://www.iaea.org$
RewriteRule !^http://[^/.].your-site.com.* - [F]
6:37 am on Feb 28, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13218
votes: 348


Your server will explode if you have [OR] at the end of the last condition before a Rule.

What's that stray *. doing there? Besides giving the server another thing to throw fits about?

Better explain the third rule. It looks alarmingly garbled.
6:40 am on Feb 28, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 29, 2003
posts: 126
votes: 0


would you believe I got it from here? btw: it's not the whole file. the *. is all the rest in between (DOS man)

[webmasterworld.com...]
12:18 pm on Feb 28, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 11, 2001
posts:5459
votes: 3


You also used it in a similar thread Banned IP Address [webmasterworld.com] five years ago

Are you still challenged by the same solutions as you were attempting to implement five years ago?
12:59 pm on Feb 28, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 5, 2005
posts: 2038
votes: 1


FWIW, here's this thread's predecessor... [webmasterworld.com...]
7:17 pm on Feb 28, 2012 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 29, 2003
posts: 126
votes: 0


Yes I'm challenged, I'm not an experts like all of you. I'm an SEO/Computer Technician/Internet Marketer, so I totally familiar with all the this. Just looking for help is all. Thanks anyway.