I'm trying to deny access to all except specific IP address in a
directory, just testing it.

In modules.d/00_default_settings.conf

<Directory "/var/www/localhost/htdocs">
        Options MultiViews
        AllowOverride All
        Require all granted
</Directory>

in admin/.htaccess

<RequireAll>
    Require all denied
    Require ip 10.0.0.100
</RequireAll>

My IP is 10.0.0.112 and I can still access the server /admin directory

What am I missing?
-- 
Thelma

Reply via email to