![]() on Windows instead of /usr/bin/perl use c:\xampp\perl\bin\perl.exe when using XAMPP For each site to analyze create an AWStats model file using as reference (see cgi-bin folder), e.g. Put an ordinary test web page (test.htm) in the same place, then see if you can access that at. Edit the path to the Perl install in cgi-bin/, e.g. I suggest you look to see if apache is pointing to the right directory that awstats are in. The stats should now be available under (insert your domain instead of localhost if the apache is not local) or if you have multiple sites you can use There is also a way to enable CGI directly in Glassfish so that you don't need the Apache server, it is described in this blog post. At first glance, this may have nothing to do with awstats. Save the file and restart Apache with service apache2 restart. conf of your default site ( /etc/apache2/sites-enabled/nf) and add the following inside the tag: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Install the Apache HTTP Server if don't already have it. How to Install wine32-development-tools software package in Ubuntu 17.04 (Zesty Zapus) wine32-development-tools software package provides Windows API implementation - 32-bit developer tools, you can install in your Ubuntu 17. Instead of local you should insert your SiteDomain. At the end of the installation, a configuration. Generate initial stats to test awstats: /usr/lib/cgi-bin/ -config=local -update To install AWStats, double click on the AWStats installer (back in C:Temp) and leave all options at default. Setup the SiteDomain to match your domain, if you are on localhost you can use: SiteDomain="local" ![]() Make sure that you insert the correct path to your Glassfish log files.Ĭhange the LogFormat setting from 4 to 1, this is the Apache combined log format: LogFormat=1 is hosted on IIS / Windows web server open source and can run on Windows depends on IIS log files Step by step set-up guide of AWStats. Setting Up AWStats Download the AWStats zip package from Sourceforge. Open the nf file for your domain ( ) or if you don't have a separate config take the default from /etc/awstats/nf.Ĭhange the LogFile to look like this: LogFile="/GLASSFISH_HOME/glassfish/domains/domain1/logs/access/server_access_log.%YYYY-0-%MM-0-?-0.txt" Click the Select Fields button and check the boxes next to the required fields. Now Glassfish should start logging to a file in GLASSFISH_HOME/glassfish/domains/domain1/logs/access. Change the Format to the following string: combined (this is Apache combined log format). Open the Glassfish Admin GUI ( navigate to server-config -> HTTP Service and enable Access Logging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |