[SLUG] HTTPD IP address ranges

Jonathan Worthington jonathan at jwcs.net
Sun Nov 23 22:05:30 GMT 2003


Hi,

Sorry to everyone for my "disappearance".  Cambridge life is pretty time
consuming...as was the preperation for it....

> I am wanting to restrict visitors to a web Server, ensuring that any
> visitors IP address must start with a specific address range for example
> 208.149.  This restricts the visitors ip range from 208.149.0.0 to
> 208.149.255.255.
Pop these directives into your httpd.conf or .htaccess file as appropriate.

Order Deny,Allow
Deny from all
Allow from 208.149

Full docs available at:-
http://httpd.apache.org/docs/howto/auth.html#allowdeny

Hope this helps,

Jonathan






More information about the Scarborough mailing list