Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29

Thread: TUTORIAL: AWStats with APACHE2

  1. #21
    Join Date
    Mar 2007
    Beans
    1

    Re: TUTORIAL: AWStats with APACHE2

    I saw a very similar question yesterday, on this site: http://counting.xf.cz/id2964.html

  2. #22
    Join Date
    Aug 2005
    Location
    Sydney, Australia
    Beans
    456
    Distro
    Ubuntu Development Release

    Re: TUTORIAL: AWStats with APACHE2

    for those who are interested, i found the following guide useful for setting up awstats on ubuntu edgy 6.10: http://www.debuntu.org/2006/04/21/33...n-debianubuntu.

  3. #23
    Join Date
    Jan 2006
    Beans
    182

    Re: TUTORIAL: AWStats with APACHE2

    never mind.
    Last edited by jackrobinson; March 26th, 2007 at 01:10 AM.

  4. #24
    Join Date
    May 2007
    Beans
    52
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: TUTORIAL: AWStats with APACHE2

    Quote Originally Posted by stuporglue View Post
    Awesome tutorial. It got me going pretty quickly. Here's a quick and dirty update -- I think some packages have changed since the original tutorial. I did this as root, and am just listing the commands since the descriptions above were so good! (March 25, 2005).

    # apt-get install awstats
    # cp /usr/share/doc/awstats/examples /usr/local/awstats
    # cd usr/local/awstats
    # mkdir wwwroot
    # mkdir wwwroot/cgi-bin
    # gunzip awstats.model.conf.gz
    # mv awstats.model.conf wwwroot/cgi-bin
    # ./awstats_configure.pl
    /etc/apache2/apache2.conf
    y
    foo.com
    {ENTER}
    {ENTER}
    {ENTER}
    # ln -s /usr/local/awstats/css/ wwwroot/
    # ln -s /usr/share/awstats/* wwwroot/
    # ln -s /usr/lib/cgi-bin/awstats.pl wwwroot/cgi-bin/
    # chown -R --dereference www-data:www-data wwwroot
    # chown -R --dereference www-data:www-data /var/lib/awstats
    # chown root:www-data /var/log/apache2/access.log

    In /etc/apache2/apache2.conf, find the section starting with
    <Directory "/usr/loacl/awstats/wwwroot">, and put a # in front of the line "Options None" it should look like:
    <Directory "/usr/local/awstats/wwwroot">
    # Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    # /etc/init.d/apache2 reload

    visit:
    http://foo.com/awstats/awstats.pl?config=foo.com
    is it normal for this message after running the command cp /usr/share/doc/awstats/examples /usr/local/awstats

    Code:
    root@rockinghamgateway:~# cp /usr/share/doc/awstats/examples /usr/local/awstats
    cp: omitting directory `/usr/share/doc/awstats/examples'
    TT

  5. #25
    Join Date
    May 2007
    Beans
    52
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: TUTORIAL: AWStats with APACHE2

    Ok got the cp thingy worked out

    any one worked out what the log format is for mail ?

    I had one for a tinysofa system

    Code:
    LogFormat= "%time2 %email %email_r %host %host_r %method %url %code %bytesd"
    TT

  6. #26
    Join Date
    Nov 2009
    Beans
    10
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: TUTORIAL: AWStats with APACHE2

    Hi! I'm trying to set awstats up to read VSFTPD's logs. I've done every step mentioned here : http://awstats.sourceforge.net/docs/...s_faq.html#FTP, except for the last statement that reads "Now you can use AWStats as usual (run the update process and read statistics)."

    Now I'm flabbergasted...How do I "run the update process"? I don't have any directories that read "wwwroot" or "cgi-bin". In fact, I don't even have an "awstats.pl" script anywhere...

    Please help!
    Last edited by ack.inc; February 14th, 2010 at 05:40 PM.

  7. #27
    Join Date
    Mar 2010
    Beans
    6

    Re: TUTORIAL: AWStats with APACHE2

    Hi,

    Perhaps this is a bit OT, but has anyone manage to get the GeoIp plugin to work with Ubuntu 9.10? I just get "country unknown" an city unknown aswell.

    Regards

  8. #28
    Join Date
    Feb 2007
    Beans
    4

    Re: TUTORIAL: AWStats with APACHE2

    Does anybody know if it's possible to reset just the stats for Operating Systems and Browsers. I had the Logformat (4) wrong so I have a lot of unknown in thoose sections.

  9. #29
    Join Date
    Nov 2007
    Location
    Dallas, TX
    Beans
    27
    Distro
    Ubuntu 6.06 Dapper

    Re: TUTORIAL: AWStats with APACHE2

    People also need to be aware that the awstats package for Ubuntu is now TWO YEARS out of date.

    from the awstats website:

    AWStats 6.9 released (Sun, 28 Dec 2008

    most current entry in the changelog:


    awstats (6.7.dfsg-1ubuntu0.1) hardy-security; urgency=low

    * SECURITY UPDATE: XSS via quotes in the "config" parameter (CVE-2008-3714).
    - 1006_quote_xss.patch: upstream fixes, thanks to Florian Weimer.

    -- Kees Cook <kees@ubuntu.com> Wed, 03 Dec 2008 11:22:38 -0800

    ---

    you can still install it and then replace the awstats.pl file from the source package. this usually works ok. but just be aware that the ubuntu package is two years outdated....

    actually it's worse than I thought...
    "Last stable version is 7.0 - 2010-12-05 23:54
    Your Perl version must be at least 5.00503 (or higher) to use AWStats 6.x or higher. See ChangeLog to know what's new and for information on compatibility with previous versions.
    See Features for current features."

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •