Current time: 07-06-2024, 03:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
how to add installaion the AWStats?
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #5
RE: how to add installaion the AWStats?
I'm using a svn copy just after RC7. So basically RC7.

Contents of: /etc/apache/vhosts.d/01_awstats.conf
Code:
Alias /awstatsicons "/var/www/localhost/htdocs/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/$2 [P]
    </IfModule>

    ScriptAlias /awstats "/var/www/localhost/cgi-bin/awstats.pl"

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

</VirtualHost>

Code:
ls -la /var/www/localhost/cgi-bin/
total 567
drwxr-xr-x 5 root root    232 Jan  3 15:37 .
drwxr-xr-x 7 root root    168 Jan  3 15:39 ..
-rwxr-xr-x 1 root root   5547 Oct 16 22:02 awredir.pl
-rwxr-xr-x 1 root root 558682 Oct 16 22:02 awstats.pl
drwxr-xr-x 5 root root   1616 Oct 16 22:02 lang
drwxr-xr-x 2 root root    440 Oct 16 22:02 lib
drwxr-xr-x 3 root root    664 Oct 16 22:02 plugins
-rw-r--r-- 1 root root    294 Sep  1 12:10 printenv
-rw-r--r-- 1 root root    779 Sep  1 12:10 test-cgi

Code:
ls -l /var/www/localhost/htdocs/awstats/
total 60
drwxr-xr-x 2 root root    88 Oct 16 22:02 classes
drwxr-xr-x 2 root root   120 Oct 16 22:02 css
drwxr-xr-x 9 root root   216 Sep  1 12:10 icon
drwxr-xr-x 2 root root    88 Oct 16 22:02 js


Any help would be much appreciated.

Thanks,
pGentoo
01-05-2009 07:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: how to add installaion the AWStats? - pgentoo - 01-05-2009 07:11 AM

Forum Jump:


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