1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache Logs

Discussion in 'Apache' started by koltk, Aug 9, 2005.

  1. #1
    Hi all,

    i'm a newbie here pls let me know if i did something wrong.

    Anyway i have this problem.

    An Http.conf file provides rules and instruction for getting log like this:

    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    and includes a files that specifies this log:

    CustomLog logs/ifca_access_log common

    Virtual host is defined correctly.

    The results in the ifca_access_log file is

    195.212.169.94 - - [08/Aug/2005:17:11:41 +0200]

    so for %l and %u i get "-" instead of the value.

    What can the problem be? Should i have to activate identity check?

    Please help me.

    Thanks to all in advance.
    Cristiano
     
    koltk, Aug 9, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What user name do you expect?
     
    J.D., Aug 9, 2005 IP
  3. koltk

    koltk Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The username of who logs in via eDirectory (novell) via LDAP.
     
    koltk, Aug 9, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Only those resources that have restricted access will have user name supplied with the HTTP request. One way to get Apache to collect and log user name is to require explicit authentication:

    http://httpd.apache.org/docs/2.0/mod/core.html#require

    I've never used LDAP with Apache, but there's an experimental LDAP module, if you want to check it out:

    http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html

    J.D.
     
    J.D., Aug 9, 2005 IP
  5. koltk

    koltk Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    THANKS MATE!

    Check and let u know ;)
     
    koltk, Aug 9, 2005 IP