On Wed, 2003-06-18 at 14:22, Sebastian Abt wrote: > Hi all, > > I'm currently writing an Apache module (Apache 1.3.27) for virtual > masshosting based on a SQL backend (currently MySQL later on > PostgreSQL). Therefore I'm searching for information about the > differences between requests (request_rec) and servers (server_rec). > > Can anybody tell me the lifetime of a request or a server record? > As far as I understand the used terminology, a request record handles > all requests made by a user when navigating to a specific URL.
A request_rec lasts for the lifetime of a single HTTP request. So if navigating to a URL involves retrieving an HTML page and four images, there will be five different request_recs--even if a single keepalive connection is used. Brian