| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Oct 2006 Location: http://akshayjain.org
Posts: 2,830
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | .htaccess help needed please tell me whats wrong in this .htaccess file? i have tried to block commonly used hackers IP addresses and China as a whole but when i save it, i am not able the site at all and i am getting a INternal Configuration Error ![]() http://uck.in/htaccess.txt thanks **Note : anybody wishing to use this .htaccess file on your own website is free to do so ![]() ????: NamePros.com http://www.namepros.com/programming/357958-htaccess-help-needed.html p.s: the upload function of this forum is not working. i am getting a php error while trying to upload it here. |
| |
| | THREAD STARTER #3 (permalink) | ||||
| Senior Member Join Date: Oct 2006 Location: http://akshayjain.org
Posts: 2,830
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
they can utilise GB's of bandwidth in a single day and the revenue u earn from them is very low. may be 0.01-0.05$ per click which is simply not profitable | ||||
| |
| | #4 (permalink) | ||||||||||||
| Account Closed Join Date: Oct 2006
Posts: 65
![]() | Two things is important here: 1. seperate the IPs into different deny from rules. Thats because when you are actually writing them in line, they are getting new line in ASCII and generating errors. So instead of doing this:
[quote] # Iraq country block deny from 78.109.224.0/20 deny from 80.77.176.0/20 deny from 81.90.16.0/20 deny from 88.201.0.0/17 deny from 194.117.56.0/21 [quote] 2. Some web servers require rules definition in every block. So try changing the following code too:
![]() Good Luck. Regards | ||||||||||||
| |