![]() ![]() On some Ubutu installs the log files cannot be accessed and even if you change the permissions toĬhomd -R 755 /var/log/apache2 they keep being switched back by the logrotation script. Now everything works apart from the images which awstats expects to be in the icon subdirectory of the document root for the vhost.Htpasswd -c /etc/apache2/.htpasswd username The you need to create the /etc/apache2/.htpasswd file and add a user password with the command: Options ExecCGI -MultiViews +SymLinksIfOwnerMatchĪuthName "cgi-bin restricted" #added lineĪuthUserFile /etc/apache2/.htpasswd #added line The following lines has to be added to the vhost-specific apache configuration file /etc/apache2/sites-available/: In order to protect the statistics I limit access to authenticated users.Unzip the 3 databases and put them into the /usr/local/share/perl/5.8.8/Geo/IP/ directory. Execute apt-get install build-essential Compile Geo-IP-1.27 according to the INSTALL file. They will be displayed in the preferred language specified by your browser. The Desktop links above are available in many different languages. Original Maintainer (usually from Debian): Debian QA Group It should generally not be necessary for users to contact the original maintainer. You probably need to get some stuff first to be able to do the compilation. As of the Ubuntu LTS release in 2020, the server documentation has moved to a different site, and will automatically update when changes are made to the discourse source code pages. Ubuntu Developers (Mail Archive) Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly. LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /usr/local/share/perl/5.8.8/Geo/IP/GeoIPASNum.dat"Ĭompile the GeoIP-1.4.2 stuff according to the INSTALL file. LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/perl/5.8.8/Geo/IP/GeoLiteCity.dat" LoadPlugin="geoip GEOIP_STANDARD /usr/local/share/perl/5.8.8/Geo/IP/GeoIP.dat" If you want to use the non-OSS GeoIP stuff, replace the last line by the following: HostAliases="AllowToUpdateStatsFromBrowser=1ĪllowAccessFromWebToAuthenticatedUsersOnly=1ĪllowAccessFromWebToFollowingAuthenticatedUsers="jeltsch" Any suggestions on how to make this howto better is welcome. There is an existing Howto here but it is old and breaks the debian Apache model. I thought it would be good to document them here as each one has wrong or missing information. For my own vhost () these directives are as follows: I got awstats running on my server with the use of 3 different howtos. Into the vhost-specific configuration file I only put directives that are different from the default configuration file /etc/awstats/nf.Since I use vhosts, I put for every vhost one configuration file into the /etc/awstats/ directory.AWStats (Advanced Web Statistics) is a free Web analytics software. In order to use the free, but non-open source versions of GeoIP. We are going to learn how to install AWStats on Ubuntu 18.04 with Apache web server. ![]() Install libnet-ip-perl and libgeo-ipfree-perl in order to map the dns entries to countries.After installing the ubuntu package, there are still a few things that I had to do: I started to use awstats for creating the site statistics on our server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |