LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2003, 04:15 PM   #1
fibbi
Member
 
Registered: Sep 2003
Distribution: gentoo
Posts: 101

Rep: Reputation: 16
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
 
Old 10-12-2003, 04:31 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 10-12-2003, 08:24 PM   #3
fibbi
Member
 
Registered: Sep 2003
Distribution: gentoo
Posts: 101

Original Poster
Rep: Reputation: 16
anyone else know why specifically there are two different files?

Thanks
 
Old 10-13-2003, 12:22 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Perhaps you have installed 2 versions of apache.
 
Old 10-18-2003, 10:07 AM   #5
everythingand2
Member
 
Registered: Oct 2003
Location: Kansas City, MO
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
The file in /etc/apache is the default apache installation. The other file is the one you installed.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPD (Apache) config oddity rblampain Programming 4 07-11-2005 07:59 AM
APACHE (HTTPD) question rblampain Programming 2 07-08-2005 11:03 PM
Apache httpd DocumentRoot question orange400 Linux - General 7 05-24-2004 03:41 AM
Apache httpd Question Sillysoft Linux - Software 8 04-07-2004 05:17 PM
httpd (apache) rpm question kapot Red Hat 2 11-10-2003 05:43 AM


All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration