HOW-TO: Install/Upgrade Apache 2.0
----------------------------------------
Note: This how-to has worked fine on plesk and cpanel servers and numerous tests. I cannot guarentee it will work on yours and cannot take responsibility for the outcome. I do not recommend running this how-to on an ensim server.
-----------------------------------------
Note: Text in blue are commands that should be run from the root shell
FRESH INSTALL
This part of the how-to is for a clean install only, for upgrades please scroll down.
Make a copy of your current httpd.conf incase you need to roll-back
Run The Configuration File, (The bits following ./configure were custom wrote by me, you may customise these how you wish)
./configure --prefix=/usr/local/apache --with-php --with-mysql --with-susexec --enable-mods-shared=all --disable-info
Run The Make File
make
Run The Install Make File
make install
-----------------------------------
Apache 2.0 is now installed on your system. The four lines below are certain security measures that can be taken to hide the identity of apache. *These are optional*
Edit The http.conf File
pico -w /usr/local/apache/conf/httpd.conf
Disable Apache Signatures (Security)
Locate ServerSignature and change to off
Add the line below, after ServerSignature off
ServerTokens ProductOnly
Save httpd.conf
CTRL + X then "Y" then "enter" without the "'s
-----------------------------------
Start Your New Apache
/usr/local/apache/bin/apachectl start
Your sites should now be working.
Please scroll down to the bottom of the page, after performing the commands above