Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-30-2011, 11:57 AM   #16
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24

Originally Posted by mridul chandhok View Post
i want /etc/httpd/conf/httpd.conf which didn't got created while apache installation

i know /usr/local/apache2/conf/httpd.conf was present.

I wanted to make changes in /etc/httpd/conf/httpd.conf which is absent
There is really no difference between the two. If you're launching httpd it will read /usr/local/apache2/conf/httpd.conf in your setup.

A much simpler way to install would have been "yum install httpd". That way you don't have to do a manual update when patches are released ...

If you're really worried about having an httpd.conf in /etc/httpd/conf, why not create a symlink?

ln -s /usr/local/apache2/conf/httpd.conf /etc/httpd/conf/httpd.conf
Old 08-30-2011, 03:40 PM   #17
Registered: Dec 2009
Posts: 38

Rep: Reputation: 6
The default location for installation of Apache2 using source is /usr/local/apache2/.

I think if you install by yum/rpm then it will be under /etc/httpd/.

As already said, there is not much difference. If it is needed then create a link as suggested.

If you want to use a separate conf file for apache use -f switch with apachectl. Check the link below.
Old 08-30-2011, 07:15 PM   #18
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,814

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Unless you have a really good reason not to, use the Apache from the RHEL repos via yum and remove the other one.
At the moment you've sort of got a mixture of both.
1 members found this post helpful.
Old 09-02-2011, 04:36 AM   #19
mridul chandhok
LQ Newbie
Registered: Jun 2010
Location: New Delhi, India
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Well Thanks a lot guys I didn't had httpd tool installed and I was trying to install httpd server but now my problem is solved.
Thanks once again


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
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-23-2010 12:17 AM
apache, php, mysql installation issue sohailark Linux - Server 4 11-05-2006 11:21 AM
Issue with apache and devtool installation madchaz Red Hat 1 02-27-2006 08:12 AM
Issue with Apache Installation Brerpie Linux - Software 3 01-31-2006 07:25 PM
LZIB/apache installation issue --help Robin01 Linux - Software 1 02-05-2004 01:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 PM.

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