Apache
From charlesreid1
VirtualServer examples page
http://httpd.apache.org/docs/2.0/vhosts/examples.html
Installation
Configuration
I have configured Apache 2.0.63, 2.2.11, 2.2.15, and 2.2.16 using this configure line (or something similar):
./configure \
--prefix=/path/to/apache \
--with-included-apr \
--enable-mods-shared="all ssl cache proxy authn_alias mem_cache file_cache charset_lite dav_lock disk_cache mod_dav mod_dav_svn"
The long list of "mods-shared" is to enable shared modules to be built, for a variety of different things (e.g. mod_dav_svn allows for the apache server to serve as an SVN repository server. Go here for more information: http://httpd.apache.org/docs/2.0/mod/
Dependencies
Apache did not have any dependencies when I built it.
Modules
PHP Module
When you install PHP, you can point configure to a build of Apache. When you type make and make install, it will modify your Apache httpd.conf configuration file to add the appropriate PHP module.
Once the PHP module has been added to the Apache configuration file, you will also have to add a few other things:
AddHandler php5-script php
# PHP module:
<IfModule php5_module>
# Add php type handler
AddType text/html php
# Make index.php a default file
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
SVN Module
Python Module
SSL Module
SSL, secure socket layer, provides a secure way of communicating private information between a client, using their web browser, and the web server, running Apache.
To create secure Apache web sites, which are prefixed with https://, you can use the mod_ssl module, documented here: http://httpd.apache.org/docs/2.0/ssl/
In order to use mod_ssl, you need to install OpenSSL and configure with the arguments --enable-ssl --with-ssl=/path/to/open/ssl. You can set a whole bunch of different options, documented here: http://www.openssl.org/
You will need to sign your own certificate, since a signed SSL certificate will set you back a couple thousand dollars a year. This will cause all users using the Apache SSL webpage to see a warning, but that's a small price to pay, compared with the cost of a signed SSL certificate.
Other Interesting Modules
| One-Time Password Authentication Module | https://code.google.com/p/mod-authn-otp/ |