Re: Apache24 restrict director access by IP

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

 



Thanks,

seem to be blocking me when accesssing from a different IP now:
here is the code am using:
# defese agains brute force attacks
<Directory ~ /administrator>
        order deny,allow
        Deny from all
        allow from 192.168.1.65
</Directory>

yes! I am using Apache 2.4 version.


On 06/09/2015 02:18 PM, Richard wrote:

Date: Tuesday, June 09, 2015 02:11:55 PM -0700
From: Motty Cruz <motty.cruz@xxxxxxxxx>

Hello,
I am trying to restrict access to joomla Administrator directory
by IP:
# defese agains brute force attacks
<Directory "/administrator">
          order deny,allow
          Deny from all
          Require ip 192.168.1.65
</Directory>

this code on httpd.conf is not stopping me from logging onto
www.site.com/administrator
any ideas?
I used this
http://httpd.apache.org/docs/2.4/en/mod/mod_authz_host.html

Thanks
Motty

What you are showing are apache 2.2 access control directives. These
changed with 2.4, so if you are using 2.4, as implied by your
subject line, see the "Run-Time Configuration Changes" section of:

   <http://httpd.apache.org/docs/2.4/upgrading.html>



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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-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