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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to