Re: serverside restrictions

From: Date: Sun, 14 Jul 2002 10:51:56 +0000
Subject: Re: serverside restrictions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107597@lists.php.net to get a copy of this message
Liam MacKenzie wrote:
This works fine, but is there a way to get apache to do it for me instead? Like, this for example... <Location /server-info> SetHandler server-info Order deny,allow Deny from all Allow from 192.168.0.0 </Location> Yes, using exactly the syntax you have. The exact line you have would only allow the particular ip address of 192.168.0.0 to connect. If you want the /24 subnet to have access then leave off the last octet, e.g. 192.168.0
Its all in the Apache manual, manual/howto/auth.html#allowdeny HTH Chris

« previous php.general (#107597) next »