Basic Apache Configuration

Linux

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

Apache’s Modular Architecture

core
prefork
http_core
mod_so
LoadModule
directives
mod_alias
mod_mime
mod_proxy
mod_rewrite
mod_status
The core executableothers …


The directory Apache

/usr/lib64/httpd/modules

The httpd package we installed includes the config file:

/etc/httpd/conf/httpd.conf

Listening on a Port

You can restrict apache to listen on a specific network interface

Listen 22.33.44.55:80

Setting the Document Root


The DocumentRoot defines the top-level directory of the web site

Setting an Identity

Apache needs a user identity to run as Used to perform access control checks to the file system

Defining Multi-Process Settings

To improve response times, apache manages a pool of “spare” server
processes
These numbers control the size of the pool:

StartServers8
MinSpareServers5
MaxSpareServers20
ServerLimit256
MaxClients256

Containers

Container directives use XML-style opening / closing tags

Restrict the scope of the directives they contain