apache httpd mod_access module

The apache httpd mod_access module allows you use allow, deny and order directives to allow and deny access to your site

order
The order directive can have either the parameter "allow,deny" or "deny,allow" !
This parameter defines whether allow or deny directives should be processed first and which one should be processed second

if allow,deny is chosen an IMPLICT deny from all is added at the end of all rules
order allow,deny
# deny from all # IMPLICIT !


if deny,allow is chosen an IMPLICT allow from all is added at the end of all rules
order deny,allow
# allow from all # IMPLICIT !


allow
order allow,deny
allow from 192.168.0.0/28	# allow everyone on your 28 bit subnet
deny from 192.168.0.2		# but disallow the pc with ip of 192.168.0.2


order
order deny,allow
deny from 192.168.0.0/30	# disallow everyone on your 30 bit subnet
allow from 192.168.0.2		# but allow the pc with ip of 192.168.0.2



REFERRERS
AllowOveride
ApacheModules
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki