homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

CHINANET Beijing (Revisited)
Is this correct?

 5:40 am on Feb 28, 2012 (gmt 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)

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)

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



 12:18 pm on Feb 28, 2012 (gmt 0)

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)

FWIW, here's this thread's predecessor... [webmasterworld.com...]


 7:17 pm on Feb 28, 2012 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved