Combined LogFormat für HTTPS einrichten

Alles, was den Apache betrifft, kann hier besprochen werden.

Combined LogFormat für HTTPS einrichten

Postby ajeap » 03. May 2016 13:54

Hallo zusammen

Ich betreibe ownCloud Server auf CentOS 7.2 mit Apache 2.4.6.40
In /var/log/httpd/ssl_access_log habe ich Einträge im Common LogFormat.
Ich möchte aber gerne auch Browser und OS loggen, also Combined Format aktivieren.
Kann mir hier jemand helfen, wo ich was ändern muss??

In httpd.conf habe ich " CustomLog "logs/ssl_access_log" combined " hinzugefügt und den Apache neugestartet, hilft allerdings nichts...:

[root@share ~]# less /etc/httpd/conf/httpd.conf
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
#CustomLog "logs/access_log" common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
CustomLog "logs/access_log" combined
CustomLog "logs/ssl_access_log" combined
</IfModule>


Liebe Grüsse
ajeap
 
Posts: 1
Joined: 03. May 2016 13:44
XAMPP version: 1
Operating System: CentOS 7

Re: Combined LogFormat für HTTPS einrichten

Postby Nobbie » 03. May 2016 20:19

Das ist die Konfiguration für Apache unter CentOS(?), die sehr verschieden ist von der Xampp Konfiguration (und hier ist das Xampp Apache Forum). Am besten stellst Du die entsprechende Frage in einem CentOS Forum, denn hier wird das kaum jemand wissen.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 31 guests