Replacing new Apache version with the old one
A PC has RedHat 4.0 EL Edition and has Apache 2.0.52 running. The path of this version is /etc/httpd. The config file is in /etc/httpd/conf/httpd.conf. The htdocs directory is /var/www/html.
I got Apache 2.2.2 and did .configure, make and make install. Now, all this is in /usr/local/apache2 where htdocs, conf, bin etc folders are present
I did service httpd stop. Got into /usr/local/apache2/bin and ran apachectl. Even tried running httpd. Both seem to be executing - since no errors pop up.
But the index.html loaded is the one from /var/www/html and not /usr/local/apache2/htdocs.
I did service http fullstatus and it showed Apache 2.0.52 !
How come its not showing 2.2.2 even after running httpd in /usr/local/apache2/bin ?
I dont want to delete Apache 2.0.52 folder and files but want the service stopped or removed from startup and replace it with the new one located at /usr/local/apache2.
What should I be doing to get this work ?