httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cerion Armour-Brown <cer...@terpsichore.ws>
Subject Re: [users@httpd] Limiting access to specific IP's for a VirtualHost?
Date Mon, 23 Feb 2004 09:54:12 GMT
On Monday 23 February 2004 10:33, Søren Neigaard wrote:
> I would like to limit access to a VirtualHost so that only a specified list
> of IP-addresses may enter.
>
> I was thinking about using "Allow from", but theres no directory in this
> VirtualHost... So can it be done, and how?

<Location />
  Order Deny,Allow
  Deny from all
  Allow from ip_add1
  Allow from ip_add2
</Location>

see http://httpd.apache.org/docs/mod/mod_access.html
Cerion


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message