LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache httpd.config question (https://www.linuxquestions.org/questions/linux-software-2/apache-httpd-config-question-103163/)

fibbi 10-12-2003 04:15 PM

apache httpd.config question
 
hey everyone,

Okay, so i'm somewhat of a linux n00b, but per the advice of some of my friends and my own desire to jump right in, i started out with slackware 9.

So anyway, i've been pretty successful so far, but I'm trying to run it as a webserver and so i'm trying to get apache to work. However, there seem to be two different httpd.config files. one in /usr/local/apache2, and one in /etc/apache. They both seem to have some effect, but i have yet to discern the relationship between the two and which one i should change. So far, the only way i've been able to get it to work is by changing both.


Also, on an unrelated note, i read that every person who contributes to the kernel gets there name somewhere. Where exactly is that?

Thanks,
-Fibbi

david_ross 10-12-2003 04:31 PM

It could be that they are the same fiel linked to each other - if you list both you may see that one links to the other:
ls -l /path/to/httpd.conf

To find out which one apache is using - just move each of them in turn away from their lcoation and try to start apache. When you move the real config file and restart apache you will get an error.

NOTE: You need to reastart apache for changes in the config to take affect.

fibbi 10-12-2003 08:24 PM

anyone else know why specifically there are two different files?

Thanks

david_ross 10-13-2003 12:22 PM

Perhaps you have installed 2 versions of apache.

everythingand2 10-18-2003 10:07 AM

The file in /etc/apache is the default apache installation. The other file is the one you installed.


All times are GMT -5. The time now is 07:19 PM.