473,606 Members | 3,100 Online
Bytes | Software Development & Data Engineering Community
+ 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_bgim age.jpg HTTP/1.1" 200 2287
121.97.223.72 - - [18/Apr/2007:09:17:00 +0800] "GET /images/quicksearchpane l_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_t emplate.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_f unctions.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 4527
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
9360
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, setup sua server on router. do i miss something here? anyone can help me to figure it out? thanks.
4
4946
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 undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 2
4
2453
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 talk to MySQL, PHP is working fine but I dont get any mysql info when running <? phpinfo() ?> and get the "Call to undefined function mysql_connect()" when trying to connect to mysql through php in browser, please help. 1. I have added C:\php;...
2
1078
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. ---------------------------------------------------------------------------- -- Sql codes: query1
0
1106
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 image i am using is 5mb!!! HOWEVER... I have inherited the tabpage created an Image reference in it, and overrriden the onPaint method to draw the image now if i press a button that sets the background image of the control
0
961
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 bbb.aspx shows, the aaa.dll cant be called, there is nothing show in the explorer , although in the sourece of html there is codes for that control. This application is developed in Win 2000 Server and it runs well too. When it runs in win 2003...
1
2136
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 from the Office XP suite on a pentium 4 running WinXP Home. We have a database which has been running successfully for approx 12 months now. Suddenly when I tried to generate a report or query using a wizard I get the mssg "Active X cant create...
5
2620
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) that almost does the job. It listens on a user-defined port and responds to incoming data by writing how many times somebody has tried to connect to the server.
1
1520
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, Sort sort) throws IOException Problem : I cant able to search the word. If the word contain special character like , %BF It just taken that special character a empty space and search the remaining character
0
8036
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8448
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8126
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8317
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5987
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5470
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3948
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4010
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2454
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.