httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] How to deny sites
Date Sun, 19 Aug 2007 17:12:08 GMT
On 8/19/07,
>  >>         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


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message