Preliminaries

Figure 1079. External documentation Slide presentation

Tip

Whenever searching for Apache related documentation always include 2.4 in your query: Configuration file syntax changed considerably with respect to Apache version 2.2.


Figure 1080. URI to filesystem mapping Slide presentation

Figure 1081. Virtual hosting Slide presentation
  • One physical host system

  • Serving multiple sites e.g.:

    • https://www.foo.org

    • https://www.second.org


Figure 1082. Implementing virtual hosting Slide presentation
  1. Port based virtual hosting

  2. IP based virtual hosting

  3. Name based virtual hosting

    Typically using Server Name Indication (SNI)


Figure 1083. IP based virtual hosting Slide presentation

Figure 1084. IP based, pros / cons Slide presentation
  • Host system: One IP per site to serve

  • Pro: TLS handshake without SNI.

    Supporting older clients.

  • Downside:

    • IP address waste

    • Host system NIC configuration required


Figure 1085. Name based virtual hosting Slide presentation

Figure 1086. Name based, pros / cons Slide presentation
  • Host system: Common IP address

  • Pro

    • No IP address waste

    • No Host system NIC configuration required

  • Cons: Excluding older non SNI supporting clients.

    (Internet Explorer on Windows XP, Android below V. 2.3)

  • SNI allows for eavesdropping requested site's name.


Figure 1087. LDAP backed authentication Slide presentation

Figure 1088. PHP FPM server Slide presentation