Help - Search - Members - Calendar
Full Version: How To use Awstats with Plugins!!
The Planet Forums > Control Panels > cPanel/WHM > Cpanel/WHM HOWTOs
emeric
I already posted this how to on Cpanel forum:

I find a way that we can use cpanel awstats with plugins!!

1/ You must upgrade awstats to latest version (6.1):
http://forums.cpanel.net/showthread...ght=awstats+6.1

2/Download awstats package from source...
unpack it and move the "plugins" directory here: /usr/local/cpanel/3rdparty/bin/

3/Go into your ftp program and Go here: /tmp/awstats/.
download your awstats.yourdomain.com.conf file and add this at the end of the file:
#-----------------------------------------------------------------------------
# PLUGINS
#-----------------------------------------------------------------------------

# Add here all plugins file you want to load.
# Plugin files must be .pm files stored in 'plugins' directory.
# Uncomment LoadPlugin lines to enable a plugin after checking that perl # modules required by the plugin are installed.

# Plugin: Tooltips
# Perl modules required: None
# Add some tooltips help on HTML report pages.
# Note that enabled this kind of help will increased HTML report pages size, # so server load and bandwidth.
#
LoadPlugin="tooltips"

# Plugin: DecodeUTFKeys
# Perl modules required: Encode and URI::Escape # Allow AWStats to show correctly (in language charset) keywords/keyphrases # strings even if they were UTF8 coded by the referer search engine.
#
#LoadPlugin="decodeutfkeys"

# Plugin: IPv6
# Perl modules required: Net::IP and Net:NS # This plugin gives AWStats capability to make reverse DNS lookup on IPv6 # addresses.
# Note: If you are interesting in having country report, you should use the # geoipfree or geoip plugin instead of enabled reverse DNS lookup.
#
#LoadPlugin="ipv6"

# Plugin: HashFiles
# Perl modules required: Storable
# AWStats DNS cache files are read/saved as native hash files. This increase # DNS cache files loading speed, above all for very large web sites.
#
#LoadPlugin="hashfiles"

# Plugin: GeoIPfree
# Perl modules required: Geo::IPfree version 0.2+ (from Graciliano M.P.) # Country chart is built from an Internet IP-Country database.
# This plugin is useless for intranet only log files.
# Note: You must choose between using this plugin (need Perl Geo::IPfree module) # or the GeoIP plugin (need Perl Geo::IP module from Maxmind).
# This plugin reduces AWStats speed of 10% !
#
#LoadPlugin="geoipfree"

# Plugin: GeoIP
# Perl modules required: Geo::IP or Geo::IP::PurePerl (from Maxmind) # Country chart is built from an Internet IP-Country database.
# This plugin is useless for intranet only log files.
# Note: You must choose between using this plugin (need Perl Geo::IP module # from Maxmind) or the GeoIPfree plugin (need Perl Geo::IPfree module).
# This plugin reduces AWStats speed of 10% !
#
LoadPlugin="geoip"

# Plugin: UserInfo
# Perl modules required: None
# Add a text (Firtname, Lastname, Office Department, ...) in authenticated user # reports for each login value.
# A text file called userinfo.myconfig.txt, with two fields (first is login, # second is text to show, separated by a tab char) must be created in DirData # directory.
#
#LoadPlugin="userinfo"

# Plugin: HostInfo
# Perl modules required: XWhois
# Add a column into host chart with a link to open a popup window that shows # info on host (like whois records).
#
#LoadPlugin="hostinfo"

# Plugin: UrlAliases
# Perl modules required: None
# Add a text (Page title, description...) in URL reports before URL value.
# A text file called urlalias.myconfig.txt, with two fields (first is URL, # second is text to show, separated by a tab char) must be created in DirData # directory.
#
#LoadPlugin="urlalias"

# Plugin: TimeHiRes
# Perl modules required: Time::HiRes
# Time reported by -showsteps option is in millisecond. For debug purpose.
#
#LoadPlugin="timehires"

# Plugin: TimeZone
# Perl modules required: Time::Local
# Allow AWStats to correct a bad timezone for user of some IIS that use # GMT date in its log instead of local server time.
# This module is useless for Apache and most IIS version.
# This plugin reduces AWStats speed of 40% !!!!!!!
#
#LoadPlugin="timezone +2"

# Plugin: Rawlog
# Perl modules required: None
# This plugin adds a form in AWStats main page to allow users to see raw # content of current log files. A filter is also available.
#
#LoadPlugin="rawlog"

# Plugin: GraphApplet
# Perl modules required: None
# Supported charts are built by a 3D graphic applet.
#
#LoadPlugin="graphapplet /awstatsclasses" # EXPERIMENTAL FEATURE

Re-Upload the file into your account.

Next, go into cpanel, click on awstats and go at the end of the page.
You will see "Advanced Web Statistics 6.1 (build 1.751) - Created by awstats (with plugin geoip, tooltips)"."
geoip and tooltip work!!!
PDW
Bad Link

http://prdownloads.sourceforge.net/...awstats-6.1.tgz

icon_sad.gif
helmi
still no corection of the links? would be interested in having awstats up to date and with plugins!?
eth00
It is just the source from the SF website which can be found pretty quickly. Here is the link

http://unc.dl.sourceforge.net/sourceforge/...awstats-6.2.tgz
emeric
Just download it from source that eth00 posted.
The jhack work fine on my servers since 4 months
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.