RE: [users@httpd] SSL Logs and AWStats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your non-SSL virtual host logs to access_log using the "combined" log format which AWStats parses correctly. 

Your SSL virtual host logs to access_log using the "common" format (by default).

Since the "combined" format is parsed correctly, I suggest that you replace the TransferLog directive in the SSL VH by the same CustomLog directive used in the non-SSL virtual host. If you are logging to the same file, you may just as well use the same format...

-ascs
 

-----Original Message-----
From: Mark McCulligh [mailto:mmcculli@xxxxxxxxxxxxx] 
Sent: Tuesday, January 17, 2006 5:59 PM
To: Apache User group
Subject: [users@httpd] SSL Logs and AWStats

Hi Group,

I have been looking at how to get AWStats to read SSL logs. And only 
finding other people looking for the same thing, but no real answers.

Below is how I have my VirtualHost setup.  Built using the examples in 
the docs
<VirtualHost 192.168.102.10:80>
    <...>
   ErrorLog      /usr/local/httpd/logs/site1/error_log
   CustomLog   /usr/local/httpd/logs/site1/access_log conbined
   LogLevel      emerg
</VirtualHost>
<VirtualHost 192.168.102.10:443>
    <...>
   ErrorLog      /usr/local/httpd/logs/site1/error_log
   TransferLog   /usr/local/httpd/logs/site1/access_log
   CustomLog  /usr/local/httpd/logs/site1/ssl_request_log \
       "%t %h %{SSL_PROTOCOL}x %{SLS_CIPHER}x \"%r\" %b"
</VirtualHost>

AWStats is reading the access_log file and of course when it read the 
records from SSL they come up as corrupted records. How do you get 
AWStats to read the SSL logs?

Thanks,
Mark.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux