I am new to Linux. I just installed Apache to my linux. However, I find there are two Apache httpd.conf files, one is under /etc/httpd/conf and one is under /usr/local/apache2/conf.
I download Apache and installed it by default, so the /usr/local/apache2 should be the directory I just installed.
Can anyone tell me what's the difference between the system default one (etc/httpd) and the one I just created and installed?
I find the configure file in the /usr/local/apache2 does not work.
Learning from FHS website, it seems /usr/local/apache2/htdocs should not be an ideal place for default WWW directory, it should be /home/somewhere, right?
Also, I want to install a new package with RPM. How can I find if the xxx.rpm is in my machine? How can I find which packages have been installed? rpm -Va?