LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-01-2007, 12:21 PM   #1
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 0
httpd.conf?


Sorry for the basic questions...

Anyone know where is this file in Ubuntu 7.04 FF Server? I have Apache2 installed.

I tried /etc/apache2/httpd.conf but that file comes up blank??

thank you,
 
Old 08-01-2007, 12:57 PM   #2
purplerice
LQ Newbie
 
Registered: Nov 2004
Location: SF Bay Area
Distribution: Fedora
Posts: 11

Rep: Reputation: 0
Hi,

The httpd.conf file is normally under <apache install root>/conf directroy. So if you installed your apache under /etc/apache2. I would check the httpd.conf file under
/etc/apache2/conf/httpd.conf

If you really don't have one under conf, there should be one under <apache install root>/original, which you can copy and customize.


Or the last resort if I were you, run a find command --

cd /
find . -name httpd.conf

Hope this helps.
 
Old 08-01-2007, 02:29 PM   #3
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by purplerice
Hi,

The httpd.conf file is normally under <apache install root>/conf directroy. So if you installed your apache under /etc/apache2. I would check the httpd.conf file under
/etc/apache2/conf/httpd.conf

If you really don't have one under conf, there should be one under <apache install root>/original, which you can copy and customize.


Or the last resort if I were you, run a find command --

cd /
find . -name httpd.conf

Hope this helps.
Thanks for the reply,

This is what it found:

Quote:
tc@MSC-Linx:/$ sudo find . -name httpd.conf
./etc/apache2/httpd.conf
When i sudo nano /etc/apache2/httpd.conf

I get:
Quote:




[ Read 0 lines ]
I tried sudo nano /etc/apache2/original/httpd.conf . Nothing came up. Is that the correct path?

How would I copy and paste form cmd line?

Tks again!
 
Old 08-01-2007, 02:32 PM   #4
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
I found this site with a Apache2 httpd file supposedly.

http://cs.bilgi.edu.tr/pages/about_t...ache2.conf.txt

Would it be wise to copy that into my blank httpd.conf file?
 
Old 08-05-2007, 02:19 PM   #5
BillBlackett
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
I'm having the exact same problem.

Please post your solution or work around when you find it.
 
Old 08-05-2007, 02:26 PM   #6
digen
Member
 
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
Apache2 configuration file resides at,

Quote:
/etc/apache2/apache2.conf
Apache2 had been installed via APT. And this is in Feisty Fawn 7.04.
 
Old 08-06-2007, 08:04 AM   #7
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by digen
Apache2 configuration file resides at,



Apache2 had been installed via APT. And this is in Feisty Fawn 7.04.
When you installed Apache2 on your Ubuntu server, did it override the httpd.conf file and make it blank?

Thats what keeps happening to me when i install Apache2.
 
  


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
Should I include srm.conf in httpd.conf in apache2? xpucto Linux - Software 3 02-16-2006 08:16 AM
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 12:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 01:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:02 AM.

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