+ Reply to Thread
Results 1 to 8 of 8

Thread: Give access to awstats

  1. #1
    edwurster's Avatar
    edwurster is offline green side up, please! edwurster will become famous soon enough edwurster will become famous soon enough
    Join Date
    May 2003
    Location
    Voorhees, NJ
    Posts
    561
    Rep Power
    71

    Give access to awstats

    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

  2. #2
    midwest's Avatar
    midwest is offline blink and it's over midwest will become famous soon enough
    Join Date
    Oct 2002
    Location
    Bozeman, MT
    Posts
    742
    Rep Power
    83
    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

    ======================

  3. #3
    cmyksteve's Avatar
    cmyksteve is offline Sure honey just not blue cmyksteve has a spectacular aura about cmyksteve has a spectacular aura about
    Join Date
    Feb 2004
    Location
    Ohio
    Posts
    272
    Rep Power
    51
    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

  4. #4
    midwest's Avatar
    midwest is offline blink and it's over midwest will become famous soon enough
    Join Date
    Oct 2002
    Location
    Bozeman, MT
    Posts
    742
    Rep Power
    83
    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

    ======================

  5. #5
    stratplan's Avatar
    stratplan is offline Registered User stratplan will become famous soon enough
    Join Date
    Sep 2002
    Location
    Texas, USA
    Posts
    668
    Rep Power
    79

    Lightbulb me, too

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

  6. #6
    edwurster's Avatar
    edwurster is offline green side up, please! edwurster will become famous soon enough edwurster will become famous soon enough
    Join Date
    May 2003
    Location
    Voorhees, NJ
    Posts
    561
    Rep Power
    71
    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

  7. #7
    cmyksteve's Avatar
    cmyksteve is offline Sure honey just not blue cmyksteve has a spectacular aura about cmyksteve has a spectacular aura about
    Join Date
    Feb 2004
    Location
    Ohio
    Posts
    272
    Rep Power
    51
    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

  8. #8
    edwurster's Avatar
    edwurster is offline green side up, please! edwurster will become famous soon enough edwurster will become famous soon enough
    Join Date
    May 2003
    Location
    Voorhees, NJ
    Posts
    561
    Rep Power
    71
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. awstats
    By ncwebguy in forum General Questions and Comments
    Replies: 4
    Last Post: 02-04-2005, 09:19 AM
  2. AWstats
    By ofoc in forum CPanel Control Panel
    Replies: 5
    Last Post: 11-17-2004, 10:41 AM
  3. Replies: 0
    Last Post: 11-11-2004, 09:38 PM
  4. AWStats - No IP resolution?
    By jairwin in forum CPanel Control Panel
    Replies: 4
    Last Post: 03-10-2004, 11:23 AM
  5. AWStats without CPanel?
    By axel1 in forum General Questions and Comments
    Replies: 1
    Last Post: 10-26-2002, 08:36 PM

Visitors found this page by searching for:

-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish