Re: Authorization Containers

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

 



Is there a different document root defined for the site that is being accessed?

On Wed, Dec 12, 2018 at 11:59 AM Bill Tantzen <tantz001@xxxxxxx> wrote:
This seems so simple, yet it doesn't work.  I would like to block some
troublesome clients from accessing my website.  I have streamlined it
to what I think is the simplest possible example: block clients from a
single domain.

<Directory "/var/www/httpd”>
    Options Indexes FollowSymLinks
    AllowOverride None
    <RequireAny>
      <RequireAll>
        Require all granted
        Require not host example.com
      </RequireAll>
    </RequireAny>
  </Directory>

Yet, in my logs I continue to see requests from host1.example.com,
host2.example.com, etc with status codes of 200.

This is based on http://httpd.apache.org/docs/2.4/howto/access.html,
specifically the section "Access control by host"
My apache version is 2.4.6 (Red Hat Enterprise LInux)

What am I misunderstanding about this documentation?
Thanks so much for thinking about this!!

-- Bill

--
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp
________________________________________________________________
Bill Tantzen    University of Minnesota Libraries
612-626-9949 (U of M)    612-325-1777 (cell)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--
Jonathon Koyle

[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