How apache identify all requests coming from a request from one web page

How apache identify all requests coming from a request from one web page

Post by Jenn » Fri, 29 Jun 2001 04:02:29



Folks,

A web page request might include a html page and all the embedded
objects (for instance, some gif files). They are sent to the servers
with different requests. How apache knows these requests are request
of one page and will then send them back to the client.

I am tracing the source code and that is where my question comes from.

If anybody knows, would you pl. let me know? Thanks.

Jenny

 
 
 

How apache identify all requests coming from a request from one web page

Post by Joachim Feis » Fri, 29 Jun 2001 04:23:02



> Folks,

> A web page request might include a html page and all the embedded
> objects (for instance, some gif files). They are sent to the servers
> with different requests. How apache knows these requests are request
> of one page and will then send them back to the client.

Apache doesn't know and doesn't care. Each request is separate. HTTP is
a stateless protocol.
Having said that, the server usually keeps the TCP connection open (at
least with HTTP 1.1), so requests coming from the same client don't suffer
the performance penalty of opening up a new TCP connection.

-Joe

 
 
 

1. kerneld, request-route, works!, but first request always fails

So close!  When I issue a ping command, kerneld does its thing;
it calls request-route and everything works as is - pppd fires up, etc.
However, that ping returns the usual message 'unknown host' but
if I run the same ping command the very next second, everything works
as its supposed to!  Note that this is common to all 'net' commands,
whether netscape, telnet, etc.

Anybody have a clue?

FYI:
Kernel 2.0.17
pppd 2.2.0

thanks for any help you can provide

Glenn

--
Glenn R. Kronschnabl (but an Aggie at heart!)
Applied Research Laboratories, University of Texas at Austin

2. Seeking UNIX Systems Administrator

3. PPP not coming through on first request from masq clents

4. Apache log only Referer from my own sites

5. Apache Server - Can I log where requests are coming from?

6. ipfwadm no worky

7. Apache Proxy server that will transform an HTTP request in a HTTPS request

8. graphics card

9. Absolute URI in non-proxy request requests to Apache

10. Request Web Pages From a C Program

11. Request Web Pages With a C Program

12. Bouncing all requests to one page

13. Help request on two apache web server on Linux....