I have several sites listed in my htaccess file that I want banned but apparently, they are not being matched. I'm wondering if someone can tell me what I'm doing wrong. I have seen many tuts and all of them differ in one way or another so there开发者_Python百科 is no way for me to know which way is the correct way.
This is the condition (one of them) in my htaccess file
RewriteCond %{HTTP_REFERER} ^as13448.com\.com [NC,OR]
This was in the log
static-208-80-193-32.as13448.com
What am I doing wrong here?
The ^ is an anchor, it only matches if the string starts with as13448.com.
You also seem to have the .com part double.
精彩评论