
28th September 2005, 20:49
|
|
Junior Member
|
|
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
You can change the file:
/home/admispconfig/ispconfig/web/tools/inhalt_tree.php
or you build a new .pkg installer for awstats. There must be a thread about building .pkg packages anywhere in the forums.
|
Thanks a lot, Till. I have tried to look into inhalt_tree.php but had a hard time because mostly written in German. Anyway, I added an Awstats directory in /home/admispconfig/ispconfig/web/tools/tools and redirect a link to the domain's awstats page. It works if I hard code the domain url. My problem is I need to replace this link with a varieble domain url...i tried to use $web["web_domain"] and other variebles but fail. What I want is "http://www.domainname.com" instead of "https://www.domainname.com:81" to run the command "http://www.domainname.com/awstats/awstat.pl?config=www.domainname.com".
Would appreciate your help. Thanks.
|

28th September 2005, 21:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
This will not work like this, because one client can have more then one domain and the name of the domain is no not available in the tools section.
|

24th March 2006, 04:22
|
|
Junior Member
|
|
Join Date: Oct 2005
Posts: 23
Thanks: 0
Thanked 2 Times in 1 Post
|
|
I've made a slight change to the shell script which installs an .htaccess file and secures the script. using the .htpasswd set for the other stats.
If anyones interested send me a PM and i'll put it up.
====
As an aside, anyone got any idea why the stats would not be showing after successfully running?
I get: Never updated (See 'Build/Update' on awstats_setup.html page) The datadir is /var/lib/awstats...
Cheers.
Found the fault if anyone has a similar problem: The ownership of the datadir (/var/lib/awstats) needs to be owned by the webserver. I was running my webserver under a different username / group to the default.
|

20th May 2006, 23:15
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
|
|
I cant understand anything..
i mean.. is it too dificult to do a step by step for newbies? i mean.. i dont want to be a linux programer, i just want to download something and make it works ! ive installed awstats.. now what?? i need to configure all the .conf again? can it be done automaticaly?
|

21st May 2006, 13:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
Quote:
|
Originally Posted by fobicodam
i mean.. is it too dificult to do a step by step for newbies?
|
No. But AWStats is not supported by ISPConfig. You cannot expect a software that is not supported to work automatically. ISPConfig uses webalizer as statistics package and this works without manual configuration.
|

27th May 2006, 02:15
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by feanor
Hi, I've built a script and a template config file for awstats to work automatically with ispconfig/apache2. Just put it in a cron job and let it do the work. It works for me, though I don't use any authentication for the stats themselves.
Also, it needs a template file for awstats.
Last, you need to add a couple of lines in your apache2.conf file to create a logfile that can be used by awstats properly:
-----
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" virtual_combined
# Add this log file for use with Awstats
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/awstats_access_log /var/log/httpd/awstats_access_log_%Y_%m_%d" virtual_combined
-----
Use it at your own risk :-)
Konstantinos
|
This script looks great!
Just one question, how do I use it?
Do I need to edit the paths inside the script?
I get errors regarding 'localhost' when I run it from the command-line.
cheers...
Last edited by funkyade; 27th May 2006 at 02:18.
|

27th May 2006, 13:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Quote:
|
Originally Posted by funkyade
Just one question, how do I use it?
|
Create a cron job for it. Run as root.
Quote:
|
Originally Posted by funkyade
I get errors regarding 'localhost' when I run it from the command-line.
|
What are the exact error messages?
|

2nd August 2006, 03:37
|
|
Member
|
|
Join Date: Jul 2006
Posts: 84
Thanks: 12
Thanked 2 Times in 1 Post
|
|
Feanor,
Thankyou for this script and template, seems to be working a treat
Cheers
Matt
|

27th November 2006, 15:56
|
|
Junior Member
|
|
Join Date: Jun 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
how to check webalizer log
Hello
how can i check webalizer log through the web browser and. is there any
pkg for awstats thank you very much
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Help config Awstats
|
domino |
Programming/Scripts |
4 |
6th September 2005 06:47 |
All times are GMT +2. The time now is 22:27.
|
|
Recent comments
6 hours 2 min ago
7 hours 1 min ago
10 hours 48 min ago
12 hours 2 min ago
15 hours 39 min ago
22 hours 54 min ago
1 day 7 hours ago
1 day 9 hours ago
2 days 20 min ago
2 days 2 hours ago