PDA

View Full Version : global ip deny



ablack
12-29-2003, 04:22 PM
would be nice to have an ip deny function for each domain
and also a global ip deny list for admin.

:-)

ProWebUK
12-29-2003, 07:20 PM
For a global IP deny just add the IP to your firewall, if you dont already have one, get one!

The site only dissallow should be simple enough to do though... not sure I would want it intergrated to the panel though :-/

DirectAdmin Support
12-30-2003, 10:54 AM
Hello,

You can create an .htaccess file in your public_html directory with the following contents:


order allow,deny
deny from 1.2.3.4
allow from all

http://www.javascriptkit.com/howto/htaccess5.shtml
http://www.htmlite.com/HTA008.php

John

ProWebUK
01-14-2004, 06:09 PM
Anyone who noticed the previous discussion that once existed here - it has been moved to: http://www.directadmin.com/forum/showthread.php?s=&threadid=1706

Chris