hmm. Might be why the problem hasn't popped up for anyone else yet. Most people are either running 5.x or both PHP 4 AND 5. I think I MIGHT know what the problem is for you, but it's not documented, so I'm not 100% sure. I'll get a beta up soon (hopefully tomorrow) for you to test out to see if it fixes the problem.php 4.4.6
yea I know should be at 5.x but have some clients still needing 4.x looking into running both
Any idea why after I block any IP, my site forbids all traffic? I get error code 500.
As mentioned above, you must've entered incorrect information and corrupted the .htaccess file. If you copy and paste the contents of your .htaccess file here after you try blocking an address, we can try and help find out what's causing the problem.Any idea why after I block any IP, my site forbids all traffic? I get error code 500.
order allow,deny
allow from all
When this is used by DA Administrator, does it block the IP address server wide or does each individual account user need to use it to block IPs?
tia
Version 1.8:
- Changed a few things to make the script backwards compatible with PHP4
- Made it display errors if the .htaccess isn't writeable or if the entries were incorrect
- Added the ability to block blocks of IPs ("192.168." to block all IPs from 192.168.###.###) as well as domain names (for blocking ISPs and such)
- Removed the check for invalid IPs. Now it only checks that the entry is at least 5 characters long. Be careful.
http://dravu.com/directadmin/ipblocker.tar.gz
http://www.johannesspringer.at/dwnld/ipblocker.1.8.tar.gz
Version 1.7:
- Changed a few functions due to becoming deprecated in PHP 5.3 and PHP 6
http://www.johannesspringer.at/dwnld/ipblocker.1.7.tar.gz