# Apache HTTP Server

Apache is a foundation with a lot of projects
- Tomcat, Hadoop, Spark, Kafka, Cassandra, etc
Though their HTTP Server is amongst the most prominent of their projects

Flexible configuration — .htaccess per-directory config, virtual hosts, dynamic module loading
Security — TLS/SSL, authentication modules, fine-grained access control
Performance — Multi-processing (MPMs), HTTP/2, content caching, reverse proxy
Extensibility — 100+ modules for rewriting, proxying, load balancing, scripting, and more
Portability — runs on Linux, Windows, macOS, and most Unix-like systems

## Simple Usecase

Serving a static html site.
put in a folder, put that folder in the config file
then start the server service daemon


## Why it's so good.

It single handedly carried the dot com bubble.
Facebook, Youtube, Yahoo

### Virtual Hosts

Same server different directories with different domains

### Reverse Proxy

Different computers with different IPs with same or different domain.

- Failover
- Load Balancing

### Caching


## Fancy Demo

Make a demo server with a simple social media app with just three paths. PHP. post and upvote similer to twitter.
Generate workers to just DoS the site. show some bar graph with availability.

you can ask the people to visit the site from their phones, and the js in the site should spam the worker, to the point of disabling it.
