Chapter 1 deck Chapter 2 deck Chapter 3 deck Chapter 4 deck Chapter 5 deck Chapter 6 deck Chapter 7 deck Chapter 8 deck Chapter 9 deck Chapter 10 deck Chapter 11 deck Chapter 12 deck Chapter 13 deck Chapter 14 deck

General Server Characteristics

4 slides · use ←/→ or Space to navigate, F for fullscreen.

Reading view

← Back to the full Chapter 8 deck

General Server Characteristics
Fullscreen for presentation · Print / PDF for a handout
1 / 4
Lesson

General Server Characteristics

Document root, server root, virtual hosts and proxy servers.

General Server Characteristics

Document Root

  • Web servers have two separate directories.
  • The document root is the root directory of all servable documents.
  • Example: if the site is www.bloomers.com and the document root is named topdocs, stored in /admin/web, then the document directory is /admin/web/topdocs.
  • If a request URL is http://www.bloomers.com/bulbs/tulips.html, the server searches for /admin/web/topdocs/bulbs/tulips.html.
  • Servers can have virtual document trees — sometimes a different disk, possibly on a different machine, is used after the original disk is filled.
General Server Characteristics

Server Root

The server root is the root directory for all the code that implements the server. It usually contains four items — the server code itself plus three subdirectories:

DirectoryPurpose
confConfiguration information.
logsTo store what has happened.
cgi-binExecutable scripts.
General Server Characteristics

Other Server Services

  • Virtual hosts — multiple sites on the same system.
  • Proxy servers — to serve documents from the document roots of other sites.
  • Support for FTP, Gopher, News and email, in addition to HTTP.
  • Support for database access.