![]() ![]() ![]() You don't have to choose for one or the other, but I decided to only use one. The application can work both through the shell, building static pages or through the web using CGIs. (These paths are orientative): A directory that stores the application itself: /usr/local/awstats/Īnd a directory that stores the configuration files for your sites. When you download and install awstats (read the doc inside the package to achieve this) you get a hierarchy of directories and files, similar to this one. It doesn't matter what product are you using to serve your pages (Zope, Plone, PHP.) while you are logging into apache. It reads your unparsable Apache logs for you and uses that information to confeccioante a global vision of what's been going on. Whether if you are a professional or a eager user, AWStats deserves a try. But a nice (and free) way of getting statistics information is using AWStats, and if you have a server with multiple sites, then you don't have excuse. There are many statistics tools around that you can install in your sever and even you can find services to ease that pain. I like asking my server what country you come from, how much did you stay in the last visit, how did you arrive here, what is the most viewed page, how much bandwidth I am wasting, what spiders are coming in, what keysearches made you arrive here, why am I getting 404 errors. – For Linux/BSD/Unix users: /etc/awstats.įor secure, high-performance and reliable Cloud Hosting or eCommerce hosting, visit our website.It is surprising how much information you can get from your readers activity. mysite.Īwstats_ will create a new file called by copying the template file. Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, i.e. ![]() This is an example of the type of records you should see inserted in your new log file after Apache was restarted:Ħ2.161.78.75 – – “GET / HTTP/1.1” 200 1234 “” “Mozilla/4.0 (compatible MSIE 5.01 Windows NT 5.0)”ĭ) awstats_ will ask you for a name for the configuration profile file. To be sure the log format change is effective, go to your homepage. # This is to permit URL access to scripts/files in AWStats directory.Ĭ) if changes were made as indicated in parts A and B, awstats_ restarts Apache to apply the changes. ScriptAlias /awstats/ “/usr/local/awstats/wwwroot/cgi-bin/” # Note that path “/usr/local/awstats/” must reflect your AWStats Installation path.Īlias /awstatsclasses “/usr/local/awstats/wwwroot/classes/”Īlias /awstatscss “/usr/local/awstats/wwwroot/css/”Īlias /awstatsicons “/usr/local/awstats/wwwroot/icon/” # Directives to add to your Apache conf file to allow use of AWStats as a CGI. If you answer yes, awstats_ will modify your nf, changing the following directive:ī) awstats_ will then add, if not already present, the following directives to your Apache configuration file (note that the “/usr/local/awstats/wwwroot” path might differ according to your distribution or OS: If you use a common log, awstats_ will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). When the awstats_ runs, the script asks following info:Ī) awstats_ tries to determine the current log format from the Apache web server configuration file nf (it asks for the path if not found). The awstats_ is located in AWStats tools directory. Run the awstats_ script to do several setup actions. This setup is for an Apache or compatible web server on Linux.ĭownload & extract the AWStats package. ![]()
0 Comments
Leave a Reply. |