httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] How to deny sites
Date Sun, 19 Aug 2007 17:12:08 GMT
On 8/19/07, lists.httpd-users@duinheks.xs4all.nl
<lists.httpd-users@duinheks.xs4all.nl>
>  >>         Deny from aaa.bbb.ccc.ddd
>  >>         Deny from ppp.qqq.rrr.sss

> I did look at that, but that doesn't seem to give an answer to my
> question.
> The sites I want to deny access are listed in a file.
> I used too have a configuration so that that file was somehow
> included in the httpd.conf.
> But that disappeared and I don't remember how to do it :(

Since those Deny things are regular apache directives, you can use
Include to include them in the regular config file like

<Directory /path/to/restricted>
Order Allow,Deny
Allow from all
Include /full/path/to/deny.conf
</Directory>

Joshua.

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