Apache

This will walk through the custom configuration for Apache

Installation

sudo apt-get -y install apache2 apache2-doc

Configuration

General configuration

Sites

Add and enable the current sites

cd /etc/apache2/conf.d
sudo ln -s /mnt/apps/apache/etc/custom_config
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/proxy.load
sudo ln -s ../mods-available/proxy_http.load
cd /etc/apache2/sites-available
sudo ln -s /mnt/apps/apache/etc/abacushill.com
sudo ln -s /mnt/apps/apache/etc/gallery3
sudo ln -s /mnt/apps/apache/etc/lazygeek.co.uk
sudo ln -s /mnt/apps/apache/etc/mirrors
sudo ln -s /mnt/apps/apache/etc/mrtg
sudo ln -s /mnt/apps/apache/etc/muggridge.org
sudo ln -s /mnt/apps/apache/etc/proxiedhosts
cd /etc/apache2/sites-enabled
sudo ln -s ../sites-available/abacushill.com
sudo ln -s ../sites-available/gallery3
sudo ln -s ../sites-available/lazygeek.co.uk
sudo ln -s ../sites-available/mirrors
sudo ln -s ../sites-available/mrtg
sudo ln -s ../sites-available/muggridge.org
sudo ln -s ../sites-available/proxiedhosts