I have apache24 installed on FreeBSD 10.0. I have installed www/awstats, which after configuration adds the following lines to httpd.conf:
But these Directory Directives don't work for apache24. After research I amended the Directives too:
I had to do a similar modification after the installation of phpMyadmin as follows:
I'm not sure what I've done. Have I left a security hole? Any guidance greatly appreciated. I want to get back to restricting access to these services by IP address using something similar to apache22 "Allow from" directive.
Also, can anybody offer help in installing the AWStats Maxmind GeoIP Plugin's for the free downloadable databases http://dev.maxmind.com/geoip/geoip2/geolite2/. I find the documentation sparse. You'd save me a lot of head scratching. GeoIP would be useful to find how many local searches I'm receiving on my websites.
Thanks in advance.
Code:
<Directory "/usr/local/www/awstats/">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
But these Directory Directives don't work for apache24. After research I amended the Directives too:
Code:
<Directory "/usr/local/www/awstats/">
Require all granted
</Directory>
I had to do a similar modification after the installation of phpMyadmin as follows:
Code:
Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"
<Directory "/usr/local/www/phpMyAdmin/">
Require all granted
</Directory>
I'm not sure what I've done. Have I left a security hole? Any guidance greatly appreciated. I want to get back to restricting access to these services by IP address using something similar to apache22 "Allow from" directive.
Also, can anybody offer help in installing the AWStats Maxmind GeoIP Plugin's for the free downloadable databases http://dev.maxmind.com/geoip/geoip2/geolite2/. I find the documentation sparse. You'd save me a lot of head scratching. GeoIP would be useful to find how many local searches I'm receiving on my websites.
Thanks in advance.