Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 03-12-2009, 07:25 PM
justdigi justdigi is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 6
Default Multiple Awstats?

I'm thinking about moving 3 domains over to a 'Baby' shared account. On my current host (1and1), I setup Awstats to produce the stats for these domains separately. IE, when I look at the stats for domainA, I don't see any mention what so ever of domainB.

I see that Awstats is on the Hostgator cPanel.

My questions:
1 - Does Hostgator's allow for separate Awstats configs, so that when looking at domainA's stats, there is no mention that domainB exists?

2 - Is Awstats accessible from OUTSIDE the control panel? IE, is there a URL I can give to someone so they can view the stats without giving them a cPanel login? I see in the knowledge-base a path for Awstats, so would this work?:
/home/username/tmp/Awstats/cgi-bin/Awstats.pl?config=domainA

3 - If one of these is not true, are the logs and a sample config available so I can run Awstats manually myself?
Reply With Quote
  #2  
Old 03-12-2009, 07:27 PM
justdigi justdigi is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 6
Default Re: Multiple Awstats?

1 - Does Hostgator's allow for ....

1 - Does Hostgator allow for ...

(couldn't find the edit button!)
Reply With Quote
  #3  
Old 03-12-2009, 07:40 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: Multiple Awstats?

Are these domains used for clients paying you for hosting, that you don't want seeing each other?
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #4  
Old 03-12-2009, 08:01 PM
justdigi justdigi is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 6
Default Re: Multiple Awstats?

Nope. I just don't want the kids who help me run my Cartoon site see the stats for my personal sites.

I don't charge anything for anything. All the sites are mine, I am not a reseller.

So, now that I have answered your question, do you have answers for mine?
Reply With Quote
  #5  
Old 03-13-2009, 09:37 AM
justdigi justdigi is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 6
Default Re: Multiple Awstats?

Anyone????
Reply With Quote
  #6  
Old 03-13-2009, 09:49 AM
regentronique's Avatar
regentronique regentronique is offline
King Croc
 
Join Date: Aug 2007
Location: Quebec,Canada
Posts: 969
Default Re: Multiple Awstats?

Just create a PHP script that will copy the awstats data from its directory to show them. That way they wont know from were it came...
Reply With Quote
  #7  
Old 03-13-2009, 10:19 AM
virtvir5's Avatar
virtvir5 virtvir5 is offline
King Croc
 
Join Date: Feb 2009
Location: Parry Sound, Canada
Posts: 1,216
Default Re: Multiple Awstats?

To answer the OP's specific questions:

First of all, the HG set-up for AWStats does create *.conf files and stats outputs for each individual domain/subdomain and it updates them all daily. However, they are all located under your /home/user/tmp directory and, in normal crcumstances, can only be accessed by logging into cPanel. Furthermore, the *.conf file are generated automatically and any attempt to "customise" them is futile as they are overwritten each time the stats are updated.

There are "workarounds" to overcome the limited access constraint, but they don't deal with the other issues. In the final analysis, the only fully satisfactory solution is to handle it yourself with your own AWStats installation and multiple *.conf access files as desired. Of course, that also requires either:
(1) checking the cPanel option that copies the raw logs into your own site structure on a cumulative basis and using them yourself, OR
(2) replicating the HG cron jobs that pick up the daily rollover updates from /home/user/access-logs into your own stats location, OR
(3) picking up the automatically generated AWStats *.txt results from their /tmp location as suggested by regentronique.
__________________
Regards, Richard
VIRtech.org
Reply With Quote
  #8  
Old 03-13-2009, 06:23 PM
justdigi justdigi is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 6
Default Re: Multiple Awstats?

Thanks for the answer Richard!

I don't have a problem with re-creating everything myself. After all, I had to install it all from scratch at 1and1. If I can get to the logs, then I should be able to replicate what I had.

Do you know if the raw logs are automagically dumped into the account, or is that manual?
Reply With Quote
  #9  
Old 03-13-2009, 06:39 PM
virtvir5's Avatar
virtvir5 virtvir5 is offline
King Croc
 
Join Date: Feb 2009
Location: Parry Sound, Canada
Posts: 1,216
Default Re: Multiple Awstats?

HG hosting uses cPanel (demo here) which includes an option to copy the raw logs to a subdirectory of your account's document root -- /home/username/logs/

Actually the automated process that is enabled by choosing that option creates and daily updates a gzipped file that contains a cumulative monthly log for each domain and subdomain. There is also a related option to delete those cumulative results at the end of each monthly cycle.

Personally, I prefer doing the latter manually once I'm sure that I've captured all of the stats analyses I want from them.
__________________
Regards, Richard
VIRtech.org
Reply With Quote
  #10  
Old 03-13-2009, 06:40 PM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,128
Default Re: Multiple Awstats?

Generally the logs are deleted after they are imported into the AWStats files. As mentioned previously, you may be able to look in the folder that the stats are in and copy them to a new account so that you will continue to be able to see them. They are in the /tmmp/awstats/ folder on a cPanel based account. cPanel also has an option to archive the raw logs after every run.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Awstats for multiple domains? mjbanks Shared Hosting Support 1 05-22-2006 04:16 PM
Where did AWSTATS go???? ginger Network Status 5 02-11-2005 07:51 PM
Awstats o0CAPPI0o Shared Hosting Support 5 01-09-2005 07:39 AM
AwStats retzely Suggestions 17 08-22-2004 09:24 PM

All times are GMT -6. The time now is 03:00 AM.