More HTTP




CS174

Chris Pollett

Aug 24, 2022

Outline

Introduction

Apache

Example of an .htaccess File to Password Protect a Directory

AuthUserFile  "/Volumes/Library/WebDocuments/library/.htpasswd"
AuthGroupFile /dev/null
AuthName library
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

MIME

HTTP

HTTP Basics

On Monday, we introduced HTTP, the protocol above TCP/IP for retrieving hypertext documents. I.e., web pages. We start today by going over in a little more detail how it works, and then switch to talking about HTML, the language that web pages are written in.

More HTTP

Header Fields

Response Phase

In-Class Exercise