|
|
Block Reffered Traffic using htaccess - Apache
|
Views : 434
|
|
Tagged in : Apache
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Block Reffered Traffic using htaccess
This is a command that someday come useful for any webmaster as we know social bookmarking websites are penetrating in any field of web, if you ever encountered or listened about dig effect when more than enough (enough that you cant imagine) traffic is derived to your page from dig, this is when your page got enough digs to show up on digg’s front page then hell lota traffic will be there at your step shared servers normally cant handle that much amount of traffic it can cause huge server load which any webhosting wont be willing for shared server so they suspend or temporarily disable the website having massive load. The following command is to block traffic from referring site you mention like dig.com.
# Block reffered traffic
RewriteEngine on
RewriteCond %{HTTP_REFERER} digg\.com [NC]
RewriteRule .* – [F]
|
|
By Rekha, On - 2010-02-17 |
|
|
|