Click to See Complete Forum and Search --> : Double install of Apache


laior
03-19-2003, 03:57 PM
Hi all,

Having some trouble here with RH8.0/Apache 1.3.19. I started out my RH8.0 install with installing Apache, etc.. as one of the packages. But then, once looking for tutorials on how to get it setup and running, everyone suggested recompiling, etc.. So I went into packages and removed webserver.

I figured my system was clean, so I downloaded the source files, configured/make/make install, etc. according this tutorial http://www.blazonry.com/scripting/install_apache.php.

I start it up from the directory recommended in tutorial and it starts up. I'm able to see the index page everything seems fine. Until I try to modify the page and see that nothing is changing. I start doing some searching, and find that it's pointing to the /var/www/html directory instead of /usr/local/apache/htdocs as the tutorial says.

Now, I'm assuming that I have two copies of apache installed on my machine.

How can I get the old one off? And how can I start the appropriate one up?

Thanks for any help you can provide a noob.

theN
03-20-2003, 02:53 AM
Hi

Looks like you have the answer already :). You could try changing the DocumentRoot of the Apache you are using.

As far as removing Apache, it depends on the what you used to install i.e. RPM or TAR.GZ. If it's an RPM, please check the RPM manpages for uninstallation options.

If it's TAR.GZ (source) then you could try deleting all the folders manually. I'm not sure about this and its impact.

Hang on for a couple of days and wait for a senior to respond. If not post the question again with more details as to your problem and what you did to make it go away.

regards
theN

laior
03-20-2003, 10:35 AM
The original was an rpm from the install. I had removed it from the packages add/delete program in x, but it still remained installed. I did a rpm -e httpd and it removed it again and then I deleted the folders manually.

It seems to be working now, although I'm not confident in the package utility for removing packages.

Thanks for the response.