Basic Apache Configuration

Linux

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

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