473,480 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cant understand the codes in apache-tomcat http logs

bhing
43 New Member
Hiya all!!!

i would like to ask about the http logs i found in logs directory in tomcat.
This is some of the codes i clipped:
-----------------------------------------------------------

202.130.156.2 - - [18/Apr/2007:09:16:59 +0800] "GET /favicon.ico HTTP/1.1" 404 988
121.97.223.72 - - [18/Apr/2007:09:16:59 +0800] "GET /images/mailsystem_bgimage.jpg HTTP/1.1" 200 2287
121.97.223.72 - - [18/Apr/2007:09:17:00 +0800] "GET /images/quicksearchpanel_bgimage.jpg HTTP/1.1" 200 2069
121.97.223.72 - - [18/Apr/2007:09:17:07 +0800] "GET /favicon.ico HTTP/1.1" 404 988
121.97.223.72 - - [18/Apr/2007:09:17:16 +0800] "GET /academics/academics.jsp HTTP/1.1" 200 18545
121.97.223.72 - - [18/Apr/2007:09:17:16 +0800] "GET /styles/css/online_uscweb_template.css HTTP/1.1" 404 1066
121.97.223.72 - - [18/Apr/2007:09:17:16 +0800] "GET /images/inner_menulist_bgimage.jpg HTTP/1.1" 200 2896
121.97.223.72 - - [18/Apr/2007:09:17:16 +0800] "GET //dynamic/photos/academics/headerpic/top2.jpg HTTP/1.1" 200 16198
121.97.223.72 - - [18/Apr/2007:09:17:18 +0800] "GET /images/buttons/bullet4x4.gif HTTP/1.1" 200 51
121.97.223.72 - - [18/Apr/2007:09:17:18 +0800] "GET /javascript/online_uscweb_functions.js HTTP/1.1" 200 1113
121.97.223.72 - - [18/Apr/2007:09:17:18 +0800] "GET //dynamic/photos/academics/sidepic/side2.jpg HTTP/1.1" 200 46879
121.97.223.72 - - [18/Apr/2007:09:17:19 +0800] "GET //dynamic/photos/academics/sidepic/side3.jpg HTTP/1.1" 200 49819

------------------------------------------------------------

Can somebody help me explain about the number codes shown after HTTP/1.1?
Your help is badly needed.. tnx
Apr 18 '07 #1
3 4500
Banfa
9,065 Recognized Expert Moderator Expert
Not sure what the second number is but the first is the basic result code, you have 2 codes in that log

404 - file not found
200 - OK

There are many other possible codes explained by W3 Organisation here.
Apr 18 '07 #2
bhing
43 New Member
thanks..
But what about the number beside the 200/400 codes? Is it the location of the error in the file?
Apr 19 '07 #3
Banfa
9,065 Recognized Expert Moderator Expert
A quick search of the Apache help guide shows that this is the size of the file requested.
Apr 19 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
9340
by: kecebong | last post by:
I installed php-4.3.3, mysql and apache server 2.0.47. but I can not connect to my apache server from my other computer, i use static ip for my server, set ip address for server name on httpd.conf,...
4
4934
by: MJ | last post by:
I am using the following script to connect but keep getting <?php $conn = mysql_connect("", "mjohn", ""); mysql_select_db("testDB",$conn); ?> but keep getting this error Fatal error: Call to...
4
2436
by: gregsands | last post by:
Hi I have read all (ok most) of the posts relating to "Call to undefined function mysql_connect()", read the manual on PHP.net and done eveything thats ive been asked to do but cant get PHP to...
2
1075
by: Paul T. Rong | last post by:
Who can help me to understand the following two queries? They are very useful when you want to show data horizontally. I found it from a Chinese Access website. ...
0
1097
by: CMEDIA_SOUND | last post by:
I have a peculiar problem, I have a tabpage with a label control on it. When i set a background image to the tabpage and drag the label around it has paint issues in that it is slow, granted the...
0
957
by: xudeutsch | last post by:
My application has a directory \contrlol and under this directory the control aaa.dll (generated by another project) is put here. The aaa.dll as an object is used in the bbb .aspx file. When...
1
2119
by: erotikaboi | last post by:
Guys, Firstly let me say I am a photographer so if you can offer me a solution I will really appreciate it in simple english not techiespeak as I wont understand it. Thanks. Ok, I am using Access...
5
2606
by: Jens | last post by:
Hello, I have been looking for some C-code which listens on a user-defined port for incoming data traffic. When data is received, the data is written to a file. I found some C-code (server)...
1
1509
by: Ragavendran | last post by:
Hi, I am using this method for search: Query =org.apache.lucene.queryParser.QueryParser.parse(String arg0) throws ParseException Hits = org.apache.lucene.search.Searcher.search(Query query,...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7059
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.