LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   How do i find the proper linux config file? (https://www.linuxquestions.org/questions/general-10/how-do-i-find-the-proper-linux-config-file-101892/)

justinfl 10-08-2003 10:39 PM

How do i find the proper linux config file?
 
Hello, I'm a linux n00b reeeeeally eager to learn more about linux. I'm currently running redhat9 with a pretty full install. I'm working with Apache, mysql, php, vsftpd, and plenty more programs. The question I'm having is how do I identify the *correct* conf file for a particular installation. For example, when I search for httpd.conf, I find like 6 different paths. Some paths don't really have the conf file and some are files and not directories. So how do I locate the correct Apache config file?

Thanks in advance!

Justin

Shade 10-08-2003 10:59 PM

httpd.conf typically resides in /etc/ or /etc/apache/
/etc/ is the main configuration directory -- most configuration options about services for the OS will lay within there, somewhere.
:)

The other ones your finding are either backup copies, or examples.

-Shade

vanquisher 10-08-2003 11:01 PM

it's /etc/httpd/conf/httpd.conf.
samba config file is /etc/samba/smb.conf

you can find out the path/syntax for various conf files by looking at the man pages, like man samba/man httpd.


All times are GMT -5. The time now is 03:25 AM.