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.

https logs/stats

Discussion in 'General Discussion' started by powdermonster, Jul 30, 2003.

  1. powdermonster

    powdermonster Member

    Joined:
    May 3, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wales
    I have done a search and can find no simular topic but hopefully someone can help me out.

    I have a client who has a secure site on my cPanel 7 box and he is convinced any traffic that enters the site via secure doesn't show up in his cPanel stats.

    Currently installed are the following stats tools : Analog, AWStats, webalizer & Urchin.

    Is he right does secure traffic appear on some other logs ? If so where do i find them, and is there a way of combining them with the normal web traffic stats.

    Cheers

    cPanel.net Support Ticket Number:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You know what? I think he's correct. I just checked the stats for my secure subdomain and all the hits are from ip addresses of my computers...I hadn't noticed that before.

    cPanel.net Support Ticket Number:
     
  3. fikse

    fikse Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    same here, not logging of https pages.... whats the solution?

    cPanel.net Support Ticket Number:
     
  4. powdermonster

    powdermonster Member

    Joined:
    May 3, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wales
    Good question :rolleyes:

    Hope there is one

    cPanel.net Support Ticket Number:
     
  5. Jeewhizz

    Jeewhizz Well-Known Member

    Joined:
    Mar 12, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, England
    has anyone figured this out yet?

    cPanel.net Support Ticket Number:
     
  6. sfield

    sfield Active Member

    Joined:
    Sep 8, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Old topic I know, but this seems to still be a problem - any solution?
     
  7. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That's because SSL access is logged in a seperate file which apparently isn't included by the stats programs.

    Here are my default log settings in httpd.conf for an example.

    secure subdomain entry:
    CustomLog domlogs/secure.premierwebsitesolutions.com combined

    IfDefine SSL entry:
    CustomLog /usr/local/apache/domlogs/secure.premierwebsitesolutions.com-ssl_log "%t %{version}c %{cipher}c %{clientcert}c"

    You could modify the SSL entry by adding the line in the subdomain entry to the SSL entry. That would cause it to get written to the same file even through https. I haven't done that myself, but it should end up being read by the stats programs.
     
  8. cycletourist

    cycletourist Member

    Joined:
    Mar 20, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Okay, so this is really an old topic now.

    Does the above "solution" work? Should I forward that to my host's tech support people?

    I have a secure site that processes monetary transactions and handles sensitive data. Just today I saw that someone had come to the site with User agent Java/1.4.2_05, from Europe (this is a site that sells discount medical benefits for the US, only), and with a URL that appears to be an attempt at probing for vulnerabilities. I would really like to be able to track this person's actions at the site. The problem is; I can't.

    My web host says that the access log files for secure sites on a shared server are all kept in one file, not separately per domain.

    Before I create my own access logging system with Php, I want to know if anyone has gotten around this major problem with cPanel based shared hosting. This seems like a major flaw in cPanel? Is there a generic solution I can suggest to my host administrators?

    (Does the above post contain a real solution? Are cPanel developers aware what a major shortcoming this is?)
     
  9. nadavoid

    nadavoid Member

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

    I posted this same answer over here:
    http://forums.cpanel.net/showthread.php?t=48476

    But I'm cross-posting here since it applies directly here too.

    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
    
     
    #9 nadavoid, Feb 17, 2006
    Last edited: Feb 27, 2006
Loading...

Share This Page