User Tools

Site Tools


blog:apache_htaccess_for_ip_or_auth_based_access

This is an old revision of the document!


Apache htaccess for ip or auth based access

Options -Indexes

AuthName "Authorisation required"
AuthUserFile /home/user/.users
AuthGroupFile /dev/null
AuthType Basic
require valid-user

Order deny,allow
Deny from all

Allow from x.y.z.w
Allow from .......

Satisfy Any

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
  _   __  _____   __  ___   ___  __  __
 | | / / / ___/  /  |/  /  / _ \ \ \/ /
 | |/ / / (_ /  / /|_/ /  / ___/  \  / 
 |___/  \___/  /_/  /_/  /_/      /_/
 
blog/apache_htaccess_for_ip_or_auth_based_access.1313408983.txt.gz · Last modified: 2011-08-15 13:49 by brb