httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naku/d'Oh!" <n...@lehiphop.com>
Subject Re: [users@httpd] Allow from ...
Date Thu, 05 Dec 2002 14:47:19 GMT
> Anyone know if it's possible to have the 'Allow from' directive 
> automatically match the IP or Domain of the server?
> 
> Example, if I am running my server on a dynamic IP, but the domain is '
> www.mooseserver.homeunix.net', is it possible to have the equivelant of 
> 'Allow from www.mooseserver.homeunix.net' ?

Hi,

Maybe what you're looking for is

order allow,deny

deny from all
allow from 127.0.0.1

This restricts the access to localhost

Naku

---------------------------------------------------------------------
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