file config zm: /etc/apache2/conf-enabled/zoneminder.conf
Code: Select all
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options -Indexes +FollowSymLinks
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
<IfModule mod_geoip.c>
GeoIPEnable On
</IfModule>
</Directory>
Code: Select all
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
GeoIPDBFile /usr/share/GeoIP/GeoIPv6.dat
SetEnvIf GEOIP_COUNTRY_CODE AU AllowCountry
<RequireAny>
<RequireAll>
Require all denied
Require env AllowCountry
Require all granted
</RequireAll>
</RequireAny>
pls help me
