As I'm very new to both Linux and Apache, I've somehow managed to screw everything up on my Apache configuration.
First of all, as soon as I've installed RH9 on my system, I installed Apache version 2.0.47, and managed to successfully set it up without any hassles. Except, I had an issue starting the server at boot time, as it kept on loading Apache 1.3. However, some geek helped me out, and somehow removed 1.3 and replaced it with my new 2.0.47 (apchectl) loader. (I cannot for the life of me remember what he did)
Today, I decided to do an upgrade to Apache version 2.0.48, and because I've become quite witty with my limited knowledge of Linux commands, (typing at a speed of 300 kph) I configured apache 2.0.48 with a prefix of /usr/locate
/apache2 instead of /usr/local
/apache2. (Guess it shows how often I try to find things with locate
). Soon after I realised this, I compiled it again with the correct prefix, only to find that no matter what I do, it still loads 2.0.47, and complains about the fact that it can't find httpd.conf in /usr/locate
/apache2/conf/ (because I deleted the folder when I realised that I messed it up).
How can I change it to look for httpd.conf in the correct folder, and how can I manage services properly to make it load the correct one at boot time, so that I can get rid of the old apache bagage?