LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-24-2003, 10:36 AM   #1
spineshank
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!

~spineshank
 
Old 09-24-2003, 12:16 PM   #2
g00$e
Member
 
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:

/etc/apache/httpd.conf

However it may be different in your case.
 
Old 09-24-2003, 12:20 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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, 12:48 PM   #4
spineshank
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,

~spineshank
 
Old 09-24-2003, 03:16 PM   #5
Coldmiser
Member
 
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, 06:02 PM   #6
spineshank
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!

~spineshank
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
G++ latest version download ashwinipahuja Programming 12 03-14-2013 02:43 AM
Latest version of RHEL? Cheeseboy Red Hat 1 11-24-2004 08:42 AM
httpd service stop fails, no pid, this after latest update squadja Red Hat 2 08-11-2004 02:29 PM
the latest linux version takako Linux - General 1 05-09-2002 05:32 AM
Latest version of FreeBSD glock19 Linux - General 8 02-02-2002 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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