Re: How to deny sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/19/07, lists.httpd-users@xxxxxxxxxxxxxxxxxx
<lists.httpd-users@xxxxxxxxxxxxxxxxxx>
>  >>         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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux