Current time: 05-19-2024, 01:58 PM Hello There, Guest! (LoginRegister)


Post Reply 
Awstats activated manually
Author Message
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #16
RE: Awstats activated manually
You also need to enable 01_awstats.conf
Code:
a2ensite 01_awstats.conf
Content of 01_awstats.conf for debian:
Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version              SVN: $Id$
# @link                 http://isp-control.net
# @author               ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​
#
# AWStats Begin
#

Alias /awstatsicons "/usr/share/awstats/icon/"


NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$1 [P]
        RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
    </IfModule>

    ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl"

    <Directory /usr/lib/cgi-bin>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#
02-16-2009 08:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Awstats activated manually - bobeq - 12-03-2007, 06:12 AM
RE: Awstats activated manually - gOOvER - 12-03-2007, 04:12 PM
RE: Awstats activated manually - joximu - 12-03-2007, 07:33 PM
RE: Awstats activated manually - Spheerys - 01-21-2009, 02:15 AM
RE: Awstats activated manually - Spheerys - 01-21-2009, 05:35 AM
RE: Awstats activated manually - BeNe - 01-21-2009, 10:08 PM
RE: Awstats activated manually - Outlaw - 02-10-2009, 08:10 PM
RE: Awstats activated manually - BeNe - 02-11-2009, 10:53 PM
RE: Awstats activated manually - Outlaw - 02-15-2009, 03:01 AM
RE: Awstats activated manually - Spheerys - 02-15-2009, 04:00 AM
RE: Awstats activated manually - sci2tech - 02-15-2009, 05:14 AM
RE: Awstats activated manually - Spheerys - 02-15-2009, 09:35 AM
RE: Awstats activated manually - sci2tech - 02-15-2009, 09:36 AM
RE: Awstats activated manually - Spheerys - 02-15-2009, 09:46 AM
RE: Awstats activated manually - Spheerys - 02-16-2009, 08:32 AM
RE: Awstats activated manually - sci2tech - 02-16-2009 08:42 AM
RE: Awstats activated manually - artful - 04-16-2009, 08:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)