Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Peicevic Antun.

Rating No ratings yet

CreateSpace Independent Publishing Platform, 2016. — 53 p. — ISBN-10: 1530866421. — ISBN-13: 978-1530866427. — Editor Maslac MarkoThis book provides a brief introduction to Apache HTTP Server - an open-source web server. Apache is the most popular web server software on the Internet; it is estimated that 50% of all active websites use Apache as their web server. You will learn how to download and install Apache HTTP Server on your Windows and Linux system, how to configure Apache as a web server, proxy server, and reverse proxy server. You will also learn to set up SSL and to expand Apache functionality by adding modules. Here is a list of topics covered in this book: Chapter Introduction - a brief overview what Apache HTTP Server really is and what it is used for. We will describe how to install Apache on Windows and Linux. Chapter Basic configuration - we will describe the Apache configuration files in Ubuntu. We will describe each file in detail. Chapter Virtual hosts - we will describe how you can use virtual hosts in Apache to configure multiple web sites on the same machine. We will also describe how to enable SSL and where the log files are kept. Chapter Modules - we will describe some basic Apache modules. We will explain how you can configura Apache as a forward and reverse proxy

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A compact, hands-on primer for getting Apache HTTP Server running and configured on Ubuntu or Windows, covering installation, the Ubuntu config layout, virtual hosts, SSL, and proxy/module basics. Best for sysadmins and developers with some Linux and networking background who want a fast practical start rather than deep internals. 【Book Arc】 - **Opening (~0%–12%)**: Defines what Apache is, why it dominates the web-server market, and walks through installing it on Ubuntu (apt) and Windows (Apache Lounge binaries), verifying via localhost. - **Early (~12%–30%)**: Introduces basic HTTP/web-server concepts and the Ubuntu configuration file layout under /etc/apache2, explaining each file and directory's role. - **Middle (~30%–60%)**: Dives into apache2.conf directives (ServerRoot, KeepAlive, logging, User/Group, .htaccess handling) and the available/enabled pattern for conf, mods, and sites. - **Late (~60%–85%)**: Covers virtual hosts — the default host, creating new ones, enabling sites, and configuring SSL — plus where access.log and error.log live. - **Ending (~85%–100%)**: Explains modules and how to configure Apache as a forward proxy, a reverse proxy, and how to display server statistics. 【Key Takeaways】 - **Apache is a cross-platform, module-extensible web server** (Opening): It runs on Windows, Linux, macOS, Unix, FreeBSD, and Solaris, and its functionality grows through compiled modules — the core reason it stays relevant. (Opening) - **Installation is deliberately simple** (Early): Ubuntu needs only apt-get update/upgrade then apt-get install apache2; Windows uses unofficial Apache Lounge binaries plus the Visual C++ Redistributable and httpd.exe -k install. (Early) - **Ubuntu splits configuration into available/enabled pairs** (Early–Middle): conf, mods, and sites each have an *-available directory and a *-enabled directory of symlinks, managed by a2enconf/a2disconf, a2enmod/a2dismod, and a2ensite/a2dissite. (Early) - **apache2.conf is the global control file** (Middle): Directives like ServerRoot, Timeout, KeepAlive, MaxKeepAliveRequests, User/Group, ErrorLog, LogLevel, and IncludeOptional shape server-wide behavior. (Middle) - **envvars holds Apache-internal variables, not shell variables** (Middle): APACHE_LOG_DIR, APACHE_PID_FILE, and APACHE_RUN_USERS (default www-data) are stored in an internal Apache structure. (Middle) - **Virtual hosts let one machine serve many sites** (Late): The default host lives in 000-default.conf pointing at /var/www/html; new sites are added in sites-available and linked into sites-enabled. (Late) - **SSL and logging are configured alongside virtual hosts** (Late): The book shows enabling SSL and explains that access.log and error.log record traffic and errors. (Late) - **Modules unlock proxy roles** (Ending): Apache can act as a forward proxy, a reverse proxy, and can display server statistics once the right modules are enabled. (Ending) 【Reading Tips】 - Skim Chapter 1 if you already know HTTP basics; deep-read the Ubuntu install and verification steps only if you're new to Apache. - Treat the configuration-file chapter as the book's backbone — the available/enabled symlink pattern explains most later confusion about "why isn't my change taking effect?" - When reading about virtual hosts and SSL, keep a terminal open and try the a2ensite/a2enmod commands as you go; the book is command-driven. - Note the recurring "restart Apache to apply changes" reminder — it's the most common practical pitfall. - Don't expect deep theory on HTTP internals or performance tuning; this is a setup-and-configure guide. 【Coverage Limits】 This guide is based on stratified excerpts covering the book's introduction, configuration, virtual hosts, and modules chapters; the excerpts do not cover the full detail of every directive or the complete proxy/statistics walkthroughs.
Page 2
ed either directly or indirectly by this book. The opinions expressed in this book belong to the author and are not necessarily those of Geek University Pres...
View in text
Page 11
lly installed on a Linux distribution, although it has been ported to other operating systems as well. In this section we will describe a how to install Apac...
View in text
Page 20
d by an argument, which is the data passed to the directive. Here is a description of the directives found in this file: ServerRoot - specifies where Apache...
View in text
Excerpt 4
rectory. To disable a module, the a2dismod command is used. NOTE - not all modules have specific configuration files located in the mods-available directory....
View in text
Excerpt 5
ory that will contain files that make up our new website: 2. We will then create a simple HTML page that will be displayed when the user access our website....
View in text
Excerpt 6
target. The proxy then requests the content from the origin server and returns it to the client. Here is how we can configure Apache as a forward proxy: Firs...
View in text
Excerpt 7
ailable directory. We will call our file reverse_proxy.conf. This is the configuration of the file: <VirtualHost *:80> ServerName msn.local ProxyPass / http:...
View in text
Tags
AI categories
Web TechnologyBackendDevOps
Publish Year: 2016
Language: English
File Format: PDF
File Size: 2.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…