apache log

Discussion in 'Site & Server Administration' started by zulgurubwow, May 24, 2007.

Thread Status:
Not open for further replies.
  1. #1
    127.0.0.1 - - [13/May/2007:00:11:56 +0800] "GET /dede4/templets/img/ddd.jpg HTTP/1.1" 200 6689 "http://127.0.0.1/dede4/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1) Gecko/20061010 Firefox/2.0"

    it from log, what does it mean?

    "GET /dede4/templets/img/ddd.jpg HTTP/1.1" is what client sent.

    but what is http://127.0.0.1/dede4/ ? is it what sever send to client?
     
    zulgurubwow, May 24, 2007 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    server loopback 127.0.0.1
     
    agnivo007, May 24, 2007 IP
  3. zonzon

    zonzon Peon

    Messages:
    100
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it's the combined log of your server. Combined log show you all the most important things in HTTP request. Here is the definition of combined logs in the apache config file :

    
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    
    Code (markup):
    I suggest you to read the common and the combined log section of this doc:
    http : // httpd.apache.org/docs/1.3/logs.html#common

    To answer to your question, http : //127.0.0.1/dede4/ is the referer of the request. If you dont know, the referer is where the request came from.

    Another questions?
     
    zonzon, May 24, 2007 IP
  4. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That was a loopback request from your server or localhost

    Localhost are 127.0.0.1 (Same referring location and same origin)
     
    inworx, May 26, 2007 IP
Thread Status:
Not open for further replies.