Get Windows user through apache log

0

Good afternoon, the apache log file is not informing the windows network user, the httpd.conf file is configured like this:

<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>

See that in the log file, after the user's ip that you accessed, you should inform the user:

10.6.12.9 - -[02/Oct/2018:13:48:51 -0300] "GET /designacoes_internacional/index.php HTTP/1.1" 200 5198
10.6.12.9 - -[02/Oct/2018:13:48:51 -0300] "GET /designacoes_internacional/img/logo.ico HTTP/1.1" 200 4286
10.6.12.9 - -[02/Oct/2018:13:48:51 -0300] "GET /designacoes_internacional/index.php HTTP/1.1" 200 5198
10.6.12.9 - -[02/Oct/2018:13:48:51 -0300] "GET /designacoes_internacional/img/logo.ico HTTP/1.1" 200 4286
10.6.12.9 - -[02/Oct/2018:13:48:52 -0300] "GET /designacoes_internacional/index.php HTTP/1.1" 200 5198
10.6.12.9 - -[02/Oct/2018:13:48:52 -0300] "GET /designacoes_internacional/img/logo.ico HTTP/1.1" 200 4286

Can anyone tell me if there is any more configuration? Note: I'm using XAMPP on Windows.

    
asked by anonymous 02.10.2018 / 19:13

0 answers