Skip to content. | Skip to navigation

Navigation

Personal tools

Web Applications

This guide shows how to build several web applications and servers. The basic concept is that of an Apache 2 webserver fronting several application servers (such as Apache Tomcat and Plone). We'll be hosting several domains and handling SSL. To avoid unnecessary rebuilding we'll attempt to reuse existing infrastructure.

httpd

Building Apache 2.x

Apache is the pre-eminent Web server on the Internet. At the time of writing, Apache 1.3 was essentially deprecated and Apache 2 was the preferred choice.

In this example we are building Apache 2.0 as it fits with our desired use of Subversion. Building Apache 2.2 should be no different.

Build and Install

Apache 2.x is very straight-forward to build and install.

The configuration is a bit annoying as the default is to build the modules as static objects (ie. no shared libraries). As ever, we need to indicate where Sun have hidden useful libraries, eg. SSL.

cd .../httpd-2.0.59

./configure --prefix=/usr/local/${PWD##*/} --enable-modules=all --enable-mods-shared=all --enable-ssl --with-ssl=/usr/sfw
make
make install

Document Actions