Information about starting and operating an ISP or corporate Intranet using Linux servers.

Web Server

A web server responds to HTTP or HTTPS (secure HTTP) requests. A web server does not always supply web pages, however. You may have a web server whose purpose is to receive and process credit card transactions; it may only return a response code and have no actual use as a web server, but because it is using Apache and the HTTPS protocol, it is technically a web server.

Install the Gentoo system foundation on the server, then proceed to install any desired optional items below.

Apache

This page describes the Apache web server. The version in-use at the time this page was last written or revised is 2.2.10.

Installation

Be sure you have all the necessary USE flags set, as shown above and more fully in the make.conf file, then install Apache:

emerge -va apache

Configuration

FIXME Configuration files are in /etc/apache. Stubs for various domains or machines (however you want to organise things) are in /etc/apache/vhosts.d/. Finish writing this.

Various tips about using .htaccess and configuration directives have been placed on this page.

Using SSL with Apache

SSL information section has moved to here.

Using PHP with Apache

To install a hardened PHP interpreter for use from the command-line as well as Apache, you will want to enable USE flags similar to these:1)

<box 80% round blue|PHP USE flags> Apache, bcmath, Bzip2, calendar, command-line interface (CLI), crypt, ctype, curl, filter, force-cgi-redirect, hash, iconv character set conversion support, ipv6, mysql, mysqli, ncurses, native language support (NLS), Perl-compatible Regular Expressions (pcre), postgres, readline support, Reflection API support (standard PHP feature), session support, SimpleXML, SSL, tokenizer, Unicode, XML, XMLreader, XMLwriter, zlib. </box>

emerge -va dev-lang/php
1) Edit /etc/make.conf or use the ufed utility to edit your USE flags.
Navigation
Print/export
Toolbox