homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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?
erlandc




msg:4422529
 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]

 

lucy24




msg:4422536
 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.

erlandc




msg:4422539
 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)

[webmasterworld.com...]

wilderness




msg:4422616
 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?

Pfui




msg:4422637
 12:59 pm on Feb 28, 2012 (gmt 0)

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

erlandc




msg:4422783
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved