| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | .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 ![]() p.s: the upload function of this forum is not working. i am getting a php error while trying to upload it here. |
| |
| | #3 (permalink) | |
| Senior Member | Quote:
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) | |||
| NamePros Member | 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:
[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: Quote:
Quote:
![]() Good Luck. Regards | |||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |