Website Babble Webmaster Forums  


Go Back   Website Babble Webmaster Forums > Creating a Website > Miscellaneous Website Questions

Your WB Notifications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2009, 10:29 PM
Junior Babbler
 
Join Date: Jun 2009
Posts: 18
winoomgmg has no reputation at Website Babble yet.
Default Block proxy users (cheater)

Hello Friends,

I want to block users who use proxy services to access my web pages.

My objective one user account one connection due to my limited trafic band width.

Some users use proxy server and open multiple account. I want to sotp this.

How can I acheive it ?

Thanks in advanced.

Rgds,
WO
Reply With Quote
  #2 (permalink)  
Old 06-29-2009, 11:03 AM
kelevraco's Avatar
Supreme Babbler
 
Join Date: May 2009
Location: Colorado
Posts: 511
kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)
Send a message via MSN to kelevraco Send a message via Yahoo to kelevraco
Default

Code:
# block proxy servers from site access
# http://site name here

RewriteEngine on
RewriteCond %{HTTP:VIA}                 !^$ [OR]
RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
RewriteRule ^(.*)$ - [F]
copy and paste this into your site’s root htaccess file it will not stop them all but will catch the majority.
__________________
Reply With Quote
  #3 (permalink)  
Old 06-29-2009, 08:28 PM
Junior Babbler
 
Join Date: Jun 2009
Posts: 18
winoomgmg has no reputation at Website Babble yet.
Default

Dear kelevraco,

You are great. Thank you so much.

I am hosting on windows server.

Where can I find root htaccess file ?

Best Regards,
WO
Reply With Quote
  #4 (permalink)  
Old 07-04-2009, 07:18 PM
Junior Babbler
 
Join Date: Jun 2009
Posts: 18
winoomgmg has no reputation at Website Babble yet.
Default

Where and how I can find hatch access file in Windows Server ?
Reply With Quote
  #5 (permalink)  
Old 07-06-2009, 12:48 PM
kelevraco's Avatar
Supreme Babbler
 
Join Date: May 2009
Location: Colorado
Posts: 511
kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)kelevraco has an outstanding reputation at WB (over 500 points)
Send a message via MSN to kelevraco Send a message via Yahoo to kelevraco
Default

Well it is called .htaccess. And when you login to your site via ftp it should be a file in your html_public folder however, some windows servers only have a www folder and it will be a file located there
__________________
Reply With Quote
  #6 (permalink)  
Old 07-06-2009, 08:37 PM
Junior Babbler
 
Join Date: Jun 2009
Posts: 18
winoomgmg has no reputation at Website Babble yet.
Default

Thanks a lot kelevraco. I will try it out and update here the result later.

Rgds,
WO
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -6. The time now is 07:04 AM.


 Subscribe to RSS

WB Sponsors

flash chat

Home Jobs Online

Search Engine Marketing

Paid Surveys

custom website design

Web Design Newcastle



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0