Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HTTP: A few words about how the web works

  • Browser -> HTTP Request -> Web Server (Apache, IIS, Nginx)
  • Web Server -> HTTP Response -> Browser
  • Simple response: Content of file as is (HTML, image, etc.)
  • CGI Response: Execute the file and return its output
  • PHP: Pass the file to the PHP Engine that runs within Apache
  • Others: JSP, ASP, mod_perl