osdir.com

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

Re: [users@httpd] mod_authz_host partial IP addresses not effective


If i'm not mistaken this part refers to the ServerRoot not your defined DocumentRoot


On 09/26/2018 01:29 PM, targontech wrote:
<Directory />
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order deny,Allow
    Deny from All
    Allow from 1.126 1.127 119.18 120.22 203.168 192.168.1
</Directory>


Try
<Directory /Users/username/directory>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order deny,Allow
    Deny from All
    Allow from 1.126 1.127 119.18 120.22 203.168 192.168.1
</Directory>