The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awstats and SSL

Discussion in 'General Discussion' started by magagnon316, Jan 9, 2006.

  1. magagnon316

    magagnon316 Registered

    Joined:
    Jan 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am using WHM 10.8.0 cPanel 10.8.1-S31 and Awstats 6.4

    Apache is setup so that there is one access log for http requests and one for SSL requests

    Awstats config file for mydomain.com is located in /home/user/tmp/awstats
    Awstats config file for the ssl requests is located in /home/user/tmp/awstats/ssl

    All these configs were created by cpanel.

    My problem is: when I check the stats in cpanel, I can only see the report for the http requests , not the SSL. I checked the .txt files generated by Awstats and everything seems to be fine (SSL stats exists).

    I just need to find out how to display the report for the SSL stats.

    Can anyone help me out ?

    Thank you
     
  2. magagnon316

    magagnon316 Registered

    Joined:
    Jan 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
  3. nadavoid

    nadavoid Member

    Joined:
    Sep 11, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    One-Step workaround (almost)

    I think I've found a pretty good resolution/workaround for this.

    at the command-line, do this:
    Code:
    cd ~/tmp/awstats
    ln -s ssl/awstats.www.example.com.conf ./awstats.www.example.com-ssl.conf
    
    That's the one step to get them set up.

    Now, to actually SEE the stats, you go to awstats in your browser, as usual, but add -ssl after the domain.
    Code:
    awstats.pl?config=www.example.com-ssl&lang=en
    
    Hopefully this will help the folks in thread 12857 "https logs/stats".

    It sure would be nice if it was already built in to cpanel!
     
  4. jtresponse

    jtresponse Registered

    Joined:
    Sep 10, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1


    I've tried this workaround, but it doesn't do it for me.

    The daily stats update seems to be writing to files without the -ssl, but the display is looking for -ssl.txt files.

    I'm now taking a different approach - merging the two log files as described here:
    http://awstats.sourceforge.net/docs/awstats_faq.html#MULTILOG

    You can get logresolvemerge.pl from here:
    http://awstats.sourceforge.net/docs/awstats_tools.html
     
  5. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
  6. jtresponse

    jtresponse Registered

    Joined:
    Sep 10, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page