What is AWStats?AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.
You can read more about AWStats and download it at the AWStats project homepage.
What are AWStats Patches?AWStats Patches are updates to the AWStats software, which fix bugs and add enhancements to the original AWStats software. These are NOT part of the official release, and are developed independently of the original project. These patches may eventually be incorporated into AWStats, if the AWStats author(s) wish to do so, but until then they are available here for those who need them.
The detailed HTTP errors patch adds support for detailed reports for various HTTP error codes, which specify the URL which received the error, the hit count and the referrer URL. This is similar to the AWStats 404 error detailed report, extended to additional HTTP codes. These are configured via the new TrapInfosForHTTPErrorCodes configuration parameter (see the TrapInfosForHTTPErrorCodes parameter in the patched awstats.model.conf sample configuration for an example).
How do I use the AWStats Patches?The obvious prerequisite is having AWStats installed and properly configured. Once everything is working using the original software, you can proceed with the patches. The patches are in unified diff format, so you can use any patching software that supports this standard format in order to apply the patches.
For example, you can use the GNU patch utility (in Windows you can use the corresponding
GnuWin32 patch port):
Copy the patch file into the AWStats root directory, and run
patch -p1 -i awstats_detailed_http_errors.patch
and that's it. For more information, read the patch utility documentation
(if you have trouble using GnuWin32 patch, notice the comment on CRLF and the
--binary option in the docs).
What's New?In version 1.3:
- Added patches for AWStats versions 6.95 and 7.0.
- Added README.txt and LICENSE.txt files to distribution zip file.
In version 1.2:
- Added patches for AWStats version 6.9.
In version 1.1:
- Added separate patches for AWStats 6.6 and 6.8 versions.
In version 1.0:
- Added detailed reports for (configurable) HTTP error codes.
LicenseThe AWStats Patches is provided under the GNU General Public License agreement.
DonateIf you like it, why not give something back?
ContactYou can contact the author via e-mail at:
Please write in with any bugs, suggestions, fixes, contributions, or just to drop a good word and let me know you've found AWStats Patches useful and you'd like it to keep being maintained.
For updates and additional information, you can always visit the website at: