Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:how to ban site referrer using .htaccess?


 

## SITE REFERRER BANNING
RewriteEngine on
# Options +FollowSymlinks
 
RewriteCond %{HTTP_REFERER} badsite\.com [NC,OR]
RewriteCond %{HTTP_REFERER} badsite\. [NC,OR]
RewriteCond %{HTTP_REFERER} sub\.badsite\.com [NC]
RewriteRule .* - [F]
 

asked Sep 13, 2013 in htaccess by ashish singh
edited Sep 12, 2013
0 votes
11 views



Related Hot Questions



Government Jobs Opening


...