Linux Apache ASP for Cpanel Published: Apr 18, 2004
  • Rating

    0/5

This Apache tutorial will guide you through upgrading or installing Apache 2x web server which ads all kinds of great new features from Apache 1.3x and security enhancements.

Apache 2 upgrade - Apache 2 installation
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 green are commands that should be run from the root shell

FRESH INSTALL - Apache 2 installation
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

cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back

Download The Apache Tar.Gz File
wget http://www.tux.org/pub/net/apache/d...d-2.0.47.tar.gz

Extract The File To Your Server
tar -xz -f httpd*

Move Into The Extracted Folder
cd httpd*

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


Apache 2 Upgrade - Upgrading Apache
Make a copy of your current httpd.conf incase you need to roll-back
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back

Download The Apache Tar.Gz File
wget http://www.tux.org/pub/net/apache/d...d-2.0.47.tar.gz

Extract The File To Your Server
tar -xz -f httpd*

Move Into The Extracted Folder
cd httpd*

Run The Configuration File
./config.nice

Run The Make File
make

Run The Install Make File
make install

Start Apache
/usr/local/apache/bin/apachectl restart

All done, you should now have a successfully upgraded/installed apache configuration.

  • Rating

    0/5

Related Articles

Comments (6)

  • Gravatar - Enigmatic
    Enigmatic 19:17, October 19, 2004
    Unfortunately, EasyApache won't re-compile Apache or return errors after running /scripts/easyapache with PerlModule Apache::ASP. I am wondering if anyone experienced the same issue?
  • Gravatar - Rodolfo Ferreira
    Rodolfo Ferreira 16:30, January 29, 2005
    I'm using Trustix and after run apache-asp.sea, the apache don't work more.<br />
    I insert this line in httpd.conf, and don't work too.
  • Gravatar - hagai
    hagai 12:23, August 7, 2005
    the link to the apache-asp.sea is broken, cpanel are not hosting them anymore.
  • Gravatar - dedicados.com.mx
    dedicados.com.mx 18:33, March 23, 2007
    http://cpan.org/modules/by-module/Apache/Apache-ASP-2.59.tar.gz<br />
    <br />
    i think this is the good one
  • Gravatar - NachOccardiax
    NachOccardiax 16:27, May 23, 2011
    Drug Testing For Marijiuana http://sanechurch.org/ - klonopin without prescription The feeling of anxiety that so many people experience is much the same as the feeling of nervousness that we all get before a big test or presentation. http://sanechurch.org/ - buying clonazepam online
  • Gravatar - RORKEXCEX
    RORKEXCEX 04:31, May 25, 2011
    Fda Banned Drugs For Diebeties http://www.conniegross.com/ - diflucan medication Diflucan is an anti-fungal antibiotic. http://www.conniegross.com/ - yeast infection fluconazole

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2018 WebHostGear.com