httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eimantas \"EnC\" Vaičiūnas" <eiman...@lietuvoje.lt>
Subject Re: [users@httpd] Directory protection
Date Tue, 06 Jan 2004 14:21:03 GMT
Ed Curtis wrote:

> I am having some trouble limiting access to a directory under a domain to
> certain ip addresses. I am running apache version 1.3.26 on Debian Linux.
> Here's my directive:
> 
>  <Directory test_area/>
> 
>   deny from all
>   allow from 10.0.0.0/24
> 
>  </Directory>
> 

Hi

I think you forgot to add Order deny,allow:

<Directory test_area/>
     Order deny,allow
     deny from all
     allow from 10.0.0.0/24
</Directory>



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