How Apache Works?

Discussion in 'Apache' started by _db_, Apr 17, 2014.

  1. #1
    Can someone explain how does Apache works? I see when I start Apache server, 2 httpd processes get created.
    I understand one is the parent, other is the child.
    What do they do?
    I also see that other httpd processes are started and that they are also children. Why and what do they do?

    I am asking the basic questions since I am a complete novice in Apache so please elaborate.
    I am working on a shared Apache module written in Delphi 7 which is acting as a server for client applications running on Windows Mobile 5.0 devices.

    Much appreciated,
     
    _db_, Apr 17, 2014 IP
  2. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #2
    Apache uses the winnt Multi Processing Module (MPM) on Windows.

    http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html
    http://httpd.apache.org/docs/2.4/mod/mpm_winnt.html

    Apache on Linux/Unix is a little diffferent. There are three different MPMs which may be chosen from.

    http://httpd.apache.org/docs/2.2/mpm.html
    http://httpd.apache.org/docs/2.4/mpm.html

    That is about the extent of my knowledge on the subject.
     
    billzo, Apr 26, 2014 IP