LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 12: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, 01:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 11-27-2005, 04: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



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 08:07 AM
Apache httpd.conf file?? matux Mandriva 2 01-28-2005 09:20 AM
Fedora 1, Apache, httpd.conf file Turner Linux - Newbie 2 07-07-2004 12:11 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd.conf File? HappyDude Linux - Software 3 08-16-2003 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:49 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
Open Source Consulting | Domain Registration