AWStats: Difference between revisions

No edit summary
No edit summary
Line 14: Line 14:
* Add ::1 to HostAliases, along with any values from your ServerAliases directive
* Add ::1 to HostAliases, along with any values from your ServerAliases directive
** Use <nowiki>"REGEX[expr]"</nowiki> for regexes here
** Use <nowiki>"REGEX[expr]"</nowiki> for regexes here
* Set EnableLockForUpdate, KeepBackupOfHistoricFiles
* Set EnableLockForUpdate, KeepBackupOfHistoricFiles, IncludeInternalLinksInOriginSection
* Copy /usr/share/doc/awstats/examples/js/awstats_misc_tracker.js to /js/ relative to your webroot
* Copy /usr/share/doc/awstats/examples/js/awstats_misc_tracker.js to /js/ relative to your webroot
** Add the following to [[MediaWiki:Common.js]] in MediaWiki:
** Add the following to [[MediaWiki:Common.js]] in MediaWiki:
<pre>script type="text/javascript" src="/js/awstats_misc_tracker.js"></script>
<pre>script type="text/javascript" src="/js/awstats_misc_tracker.js"></script>
<noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript></pre>
<noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript></pre>