WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  http error code explanation

    Posted 04/11/13 12:10 PM

    hi guys,
    in error.log file of IHS webserver, in the following messages:


    127.0.0.1 - - [10/Apr/2013:22:35:23 +051800] "GET /snoop HTTP/1.1" 404 217

    127.0.0.1 - - [10/Apr/2013:22:23:04 +051800] "GET /snoop HTTP/1.1" 404 299

    127.0.0.1 - - [10/Apr/2013:22:22:42 +051800] "GET /PlantsByWebSphere HTTP/1.1" 404 311

    127.0.0.1 - - [10/Apr/2013:22:57:16 +051800] "GET /PlantsByWebSphere/ HTTP/1.1" 200 1984


    127.0.0.1 - - [10/Apr/2013:22:57:16 +051800] "GET /PlantsByWebSphere/images/tab_flowers_s.gif HTTP/1.1" 200 599

    127.0.0.1 - - [10/Apr/2013:22:57:01 +051800] "GET /snoop HTTP/1.1" 200 11618
    192.168.0.103 - - [10/Apr/2013:22:33:40 +051800] "HEAD / HTTP/1.1" 200 -

    127.0.0.1 - - [10/Apr/2013:21:37:34 +051800] "GET /httpTech.masthead.gif HTTP/1.1" 200 11844

    127.0.0.1 - - [10/Apr/2013:21:49:39 +051800] "GET /httpTech.view1.gif HTTP/1.1" 304 0


    As we know about http status codes like 200, 304, 404 from the http error code sheet
    what does the codes 217 , 299 ,311, 1984, 11618, 11844 stand for or what does the last column in each line indicates.

                        Thank you. 



  • 2.  http error code explanation

    Posted 04/12/13 12:13 PM
    This is your log format in the httpd.conf

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

    What you see in your log is ...
    hostname ... remlogname ... username.... time ... http response code .... response size


    In your log file you don't have logname and username .
    hence the one after HTTP response code must be Size of response in bytes, excluding HTTP headers.


  • 3.  http error code explanation

    Posted 04/12/13 12:21 PM
    Thank u joseph.