P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Reseller Only Forums > CPanel Control Panel

CPanel Control Panel Cpanel, questions, observations....

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Give access to awstats
Old
  (#1 (permalink))
edwurster
green side up, please!
edwurster will become famous soon enoughedwurster will become famous soon enough
 
edwurster's Avatar
 
Status: Offline
Posts: 660
Join Date: May 2003
Location: Voorhees, NJ
Rep Power: 68
Give access to awstats - 06-30-2005, 11:51 AM

Is there a way I can give a client access to awstats without giving them the account login info?


Ed Wurster - sacts92 (old root10)

...CPANEL Docs
......P-Z Server Status
  Send a message via AIM to edwurster  
Reply With Quote
Old
  (#2 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
06-30-2005, 10:47 PM

Not that I know of. You could however install awstats, it's not a complicated install, and then password protect the folder.


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Old
  (#3 (permalink))
cmyksteve
Sure honey just not blue
cmyksteve has a spectacular aura aboutcmyksteve has a spectacular aura about
 
cmyksteve's Avatar
 
Status: Offline
Posts: 349
Join Date: Feb 2004
Location: Ohio
Rep Power: 48
06-30-2005, 10:50 PM

I've set up a public page for webalizer stats, but I don't think it's as easy for awstats.

I'll try to find some links I ran across looking into this a few months back.

Steve


Steve

* * * * * * * * * * * * * * * * * * * * * * *
Forum Announcements | Sprint Looking Glass
   
Reply With Quote
Old
  (#4 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
06-30-2005, 10:55 PM

I just thought of a maybe easier way for someone depending on their skills.

use php and curl/cron or similar to get the page and write it to a public folder.


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
me, too
Old
  (#5 (permalink))
stratplan
Registered User
stratplan will become famous soon enough
 
stratplan's Avatar
 
Status: Offline
Posts: 706
Join Date: Sep 2002
Location: Texas, USA
Rep Power: 73
Lightbulb me, too - 06-30-2005, 10:56 PM

I would be interested in how to do that, or any log stats program.


stratplan
Click Here to Visit Page-Zone's Help Desk
Help find disease cures: FoldForCures
   
Reply With Quote
Old
  (#6 (permalink))
edwurster
green side up, please!
edwurster will become famous soon enoughedwurster will become famous soon enough
 
edwurster's Avatar
 
Status: Offline
Posts: 660
Join Date: May 2003
Location: Voorhees, NJ
Rep Power: 68
06-30-2005, 10:57 PM

Quote:
Originally Posted by cmyksteve
I've set up a public page for webalizer stats, but I don't think it's as easy for awstats.

I'll try to find some links I ran across looking into this a few months back.
Thanks guys. I did an end around, and copied the webalizer stuff to a protected folder. After looking at how much is in awstats, I decided that webalizer would be easier for the client to interpret. So I set up a cron to copy the webalizer folder every 24 hours.

I'd still like to see how Steve did it.


Ed Wurster - sacts92 (old root10)

...CPANEL Docs
......P-Z Server Status
  Send a message via AIM to edwurster  
Reply With Quote
Old
  (#7 (permalink))
cmyksteve
Sure honey just not blue
cmyksteve has a spectacular aura aboutcmyksteve has a spectacular aura about
 
cmyksteve's Avatar
 
Status: Offline
Posts: 349
Join Date: Feb 2004
Location: Ohio
Rep Power: 48
07-01-2005, 02:09 AM

Hi Ed,

First I used cPanel/WHM/VoxExtreme Hacks. The php script for veiwing webalizer stats outside cPanel works great, but I didn't like having my cPanel password in the script. Ed if you're interested in using awstats check out these scripts, he has one posted.

Later I ran across a symlink solution from the cPanel forums. Page-Zone Tech support helped me with the symlink setup- and the stats have been working fine. The cPanel thread is were I read that awstats won't work with a symlink setup.

Steve


Steve

* * * * * * * * * * * * * * * * * * * * * * *
Forum Announcements | Sprint Looking Glass
   
Reply With Quote
Old
  (#8 (permalink))
edwurster
green side up, please!
edwurster will become famous soon enoughedwurster will become famous soon enough
 
edwurster's Avatar
 
Status: Offline
Posts: 660
Join Date: May 2003
Location: Voorhees, NJ
Rep Power: 68
07-01-2005, 09:27 AM

Quote:
Originally Posted by cmyksteve
Hi Ed,

First I used cPanel/WHM/VoxExtreme Hacks. The php script for veiwing webalizer stats outside cPanel works great, but I didn't like having my cPanel password in the script. Ed if you're interested in using awstats check out these scripts, he has one posted.

Later I ran across a symlink solution from the cPanel forums. Page-Zone Tech support helped me with the symlink setup- and the stats have been working fine. The cPanel thread is were I read that awstats won't work with a symlink setup.
I looked at both of these solutions. The hacks are something I wouldn't do. I'd have to put the username and password in the php file. The symlink looks like a better solution.

I'm sticking with what I have for now. It needs a little polish in the script (to copy only the files that are newer), but it gives me better control over security.

1. I created a folder public_html/stats.
2. I password protected the folder, and created a user (cpanel)
3. Put a script in cgi-bin called "update.sh" which looks like:

#!/bin/bash
cp tmp/webalizer/*.html tmp/webalizer/*.png tmp/webalizer/webalizer.* public_html/stats

4. Created a cron (in cpanel) that has one command:

/home/account/public_html/cgi-bin/update.sh

and run it 4AM each day ( 0 4 * * * ).

As I said at the top, I'll find a way to test the source file date/time, and only copy what is newer.

The user logs in to the folder with the name and pass I set up in cpanel. I don't want to expose these files to the public.


Ed Wurster - sacts92 (old root10)

...CPANEL Docs
......P-Z Server Status
  Send a message via AIM to edwurster  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
awstats ncwebguy General Questions and Comments 4 02-04-2005 10:19 AM
AWstats ofoc CPanel Control Panel 5 11-17-2004 11:41 AM
How do I install Awstats Webalizer or any other http access log reading script Jim General Questions and Comments 0 11-11-2004 10:38 PM
AWStats - No IP resolution? jairwin CPanel Control Panel 4 03-10-2004 12:23 PM
AWStats without CPanel? axel1 General Questions and Comments 1 10-26-2002 09:36 PM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com