4HOW WEB SERVERS WORK

image

In the previous chapter, you learned how browsers communicate over the internet and render the HTML pages and other resources that make up a website. In this chapter, you’ll learn about how those same HTML pages are constructed by web servers.

By its simplest definition, a web server is a computer program that sends back HTML pages in response to HTTP requests. Modern web servers encompass a much broader range of functionality than this suggests, however. When a browser makes an HTTP request, modern web servers allow code to be executed in order to generate the web page HTML dynamically, and often incorporate content from ...

Get Web Security for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.