order/allow/deny confusion

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

 



Hello,

seems I just can not get it. This piece of configuration does not work as I
expect.

<Directory /usr/local/www/horde>
Order deny,allow
Deny from 81.199.89.0/24
Deny from 80.78.18.16/29
Deny from 213.185.118.192/26
Deny from 81.199.192.0/24
</Directory>

<VirtualHost svc.nextra.sk:80>
ServerName webmail.nextra.sk
ServerAlias www.webmail.nextra.sk webmail.gtsnextra.sk www.webmail.gtsnextra.sk www.webmail.gtsi.sk webmail.gtsi.sk
#ServerAlias webmail-beta.nextra.sk
DocumentRoot /usr/local/www/horde/
php_admin_value upload_tmp_dir /tmp/horde/
php_admin_value session.save_path /tmp/horde/
Include /usr/local/etc/horde/
</VirtualHost>

according to Order documentation:

Deny,Allow
    The Deny directives are evaluated before the Allow directives. Access is
allowed by default. Any client which does not match a Deny directive or does
match an Allow directive will be allowed access to the server.

the access should be denied for mentioned IP ranges, but it is not. Can
anyone explain to me what am I missing?
I know I can simply change order and add "allow from all", but I just can't
understand the thing. 
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux - It's now safe to turn on your computer.
Linux - Teraz mozete pocitac bez obav zapnut.

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