Login form



Linux servers. HTTP. TCP/IP sequence flow diagram. Client server data header.
This is communication between client Firefox browser and Apache web server. Result is simple web page.
Client:
GET /a.html HTTP/1.1
Host: show.apiemus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; lt; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: lt,en-us;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1257,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

Server:
......HTTP/1.1 200 OK
Date: Thu, 03 Sep 2009 10:59:23 GMT
Server: Apache/2.2.8 (Unix) PHP/5.2.6
X-Powered-By: PHP/5.2.6
Content-Length: 112
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html

<a target=_blank href="http://www.nerandu.lt/vertinu.php?link=5918">vertinkite i svetaine qq.lt kataloge</a>

Client again:
GET /favicon.ico HTTP/1.1
Host: show.apiemus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; lt; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: lt,en-us;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1257,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

Server:
HTTP/1.1 404 Not Found
Date: Thu, 03 Sep 2009 10:59:23 GMT
Server: Apache/2.2.8 (Unix) PHP/5.2.6
Content-Length: 209
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /favicon.ico was not found on this server.</p>
</body></html>

Client again asks for the same resourse aditionally:
GET /favicon.ico HTTP/1.1
Host: show.apiemus.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; lt; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: lt,en-us;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1257,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

Server:
......HTTP/1.1 404 Not Found
Date: Thu, 03 Sep 2009 10:59:26 GMT
Server: Apache/2.2.8 (Unix) PHP/5.2.6
Content-Length: 209
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /favicon.ico was not found on this server.</p>
</body></html>
............


TCP flow diagram is such (It is made using packetyzer):

HTTP TCP sequence (flow) diagram between client and server. (Firefox and Apache Web server).


 
[ BBC news ][ Yahoo news ][ Linux guru ][ Webmaster ACE ]