Knowledgebase

limiting view to specific referrer

Posted by downloade, 04-29-2012, 02:54 AM
Hey guys, i need some help here. i have a server using that for downloading movies and series for my users, it is not hosting any website or DB, so i had used kloxo but now im facing some problems with bw thefts when i was using Cpanle, i could limit accessing to server files with htaccess, but currently i cant use that on kloxo, even i cant run php files now i wanted to know, is it possible to limit referrers access or i have to move back to Cpanel ? in CPanle i had used these rules: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http ://(.+.)?REFERRER/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http ://(.+.)?REFERRER$ [NC] RewriteRule .*\.(avi|mkv|rmvb|mp3|mp4|rar|zip|exe)$ DEFAULT_PAGE/ [R,NC] and was working fine to redirect all traffic except which had REFERRER as its http_referrer to DEFAULT_PAGE, a simple html page this is my server details: bind: bind-9.3.6-20.P1.el5 courier-imap-toaster courier-imap-toaster-4.1.2-1.8.7 djbdns: package djbdns is not installed httpd: package httpd is not installed lighttpd: lighttpd-1.4.29-1 mysql: mysql-5.0.95-1.el5_7.1, mysql-5.0.95-1.el5_7.1 perl: perl-5.8.8-38.el5 php: php-5.2.17-13 pure-ftpd: pure-ftpd-1.0.35-0.lxcenter.0



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Overselling (Views: 599)


Language:

Client Login

Email

Password

Remember Me

Search