Share your knowledge at the LQ Wiki.
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 09-24-2003, 11:36 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Cool Re: Latest HTTPD version, need help, very st00pid question methinks ;)

Hey All.

My partnet and myself are working on a project for a class in college. We are making a MySQL DB that will take info from an HTML form using a python script.

The question I have is with DocumentRoot. We had it a few weeks ago, but our progress recording paper was lost. We cannot figure out where DocumentRoot is, or which file to edit to change the apache placeholder page! (Default Apache page). We are using RedHat Linux 9 (I hate RH with a passion, I am used to Slackware...I love slackware!) Any help would be greatly appreciated. Just so you know, my instructor encouraged me to seek outside help for this problem. Thanks in advance!

Old 09-24-2003, 01:16 PM   #2
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
You can set the document root in the file httpd.conf.

On my particular Slackware install the file is located in:


However it may be different in your case.
Old 09-24-2003, 01:20 PM   #3
Registered: Aug 2002
Posts: 19,139

Rep: Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978Reputation: 2978
Your looking for httpd.conf file. Not sure where RH sticks it but look in /etc/httpd or do a search.
Old 09-24-2003, 01:48 PM   #4
LQ Newbie
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I found httpd.conf, but was not sure what to do with it. It was entirely blank. I tried putting some html in there, it didnt change a thing. Do i need to put file name (ie, index.html) in there or something? Thanks,

Old 09-24-2003, 04:16 PM   #5
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 15
I have Redhat 9 and my httpd.conf was in /etc/httpd/conf
You might want to check there

If it's blank like you said you might want to check for backup copies (I had 2 httpd.conf.bak & httpd.conf~)

Hope this helps
Old 09-24-2003, 07:02 PM   #6
LQ Newbie
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Ahhhhhhh, ok. I do remember seeing a httpd.conf.bak. I will emacs it tomorrow. Thanks alot for all the help.

Linux and Open Source is the future for all software. All software is, is a bunch of 1's and 0's. Why charge so much money for numbers? It is insanity.

Later all!



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
G++ latest version download ashwinipahuja Programming 12 03-14-2013 03:43 AM
Latest version of RHEL? Cheeseboy Red Hat 1 11-24-2004 09:42 AM
httpd service stop fails, no pid, this after latest update squadja Red Hat 2 08-11-2004 03:29 PM
the latest linux version takako Linux - General 1 05-09-2002 06:32 AM
Latest version of FreeBSD glock19 Linux - General 8 02-02-2002 08:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration