here is something i got from
support@cPlicensing.net
INSTRUCTIONS
1. log into your server as root.
2. cd /usr/local/bandmin/htdocs
3. edit .htaccess using what ever editor you like. I like VIM so i'm going to use that. vi .htaccess
4. Add the following lines to the .htaccess file
Example #1 (allows access only from localhost)
order deny,allow
allow from localhost
deny from all
Example #2 (allows access only from localhost and 2.2.2.2)
order deny,allow
allow from localhost, 2.2.2.2
deny from all
Example #3 (allows access only from localhost, 2.2.2.2 and every ip in the 3.3.3.* block)
order deny,allow
allow from localhost, 2.2.2.2, 3.3.3.
deny from all
There are 3 examples above. This should give you a basic example on how this works.
5. Save and exit the file.
6. Make sure the file has 0755 perms (ex: chmod 0755 .htaccess)
7. Test it out!
Let us know if you have any problems or questions.
support@cPlicensing.net