LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-27-2005, 01:23 PM   #1
newlinuxnewbie
Member
 
Registered: Sep 2005
Posts: 114

Rep: Reputation: 15
2 httpd.conf file, which one is being used?


I have these 2 config files, is there a way to find out which one is being used?

/usr/local/apache/conf/httpd.conf
/etc/httpd/conf/httpd.conf
 
Old 11-27-2005, 02:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I'd look in apaches log(s) ...


Cheers,
Tink
 
Old 11-27-2005, 05:43 PM   #3
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Rep: Reputation: 15
In linux, I'd say its /etc/httpd/conf/httpd.conf. But you can easily test it by renaming one file at a time, then stopping/restarting your httpd service. If you get an error, then you have indisputable proff of which config file is being used.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow file upload in httpd.conf? @ngelot Linux - Newbie 2 05-13-2005 09:07 AM
Apache httpd.conf file?? matux Mandriva 2 01-28-2005 10:20 AM
Fedora 1, Apache, httpd.conf file Turner Linux - Newbie 2 07-07-2004 01:11 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd.conf File? HappyDude Linux - Software 3 08-16-2003 01:38 AM


All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration