I have no referres on apache

Discussion in 'Apache' started by hashbury, Dec 24, 2007.

  1. #1
    Ive been working on this for a while and just cant seem to get it strait
    this is where i think ive been messing up
    
    <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" common
        CustomLog logs/access_log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\""
        <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>
    Code (markup):
    if anyone knows a quick fix for this i would be very thank full
     
    hashbury, Dec 24, 2007 IP
  2. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Get rid of that & use the default settings instead.

    Inside of your virtual host container you'll have this.
    CustomLog logs/access_log.log common
    Code (markup):
     
    joebert, Dec 26, 2007 IP