[SLUG] HTTPD IP address ranges

Mark Feather akwe-xavante at firenet.uk.com
Sun Nov 23 22:12:19 GMT 2003


> 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

Cheers Jonathan, i should of realised this for myself, i was looking for and expecting something a lot more complicated for some reason.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/scarborough/attachments/20031123/c1bee844/attachment.html


More information about the Scarborough mailing list