LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 09-24-2003, 11:36 AM   #1
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7
Thanked: 0
Cool Re: Latest HTTPD version, need help, very st00pid question methinks ;)


[Log in to get rid of this advertisement]
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
spineshank is offline     Reply With Quote
Old 09-24-2003, 01:16 PM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119
Thanked: 0
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.
g00$e is offline     Reply With Quote
Old 09-24-2003, 01:20 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 8,124
Thanked: 64
Your looking for httpd.conf file. Not sure where RH sticks it but look in /etc/httpd or do a search.
michaelk is offline     Reply With Quote
Old 09-24-2003, 01:48 PM   #4
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7
Thanked: 0

Original Poster
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
spineshank is offline     Reply With Quote
Old 09-24-2003, 04:16 PM   #5
Coldmiser
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 31
Thanked: 0
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
Coldmiser is offline     Reply With Quote
Old 09-24-2003, 07:02 PM   #6
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7
Thanked: 0

Original Poster
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
spineshank is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
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
G++ latest version download ashwinipahuja Programming 7 06-04-2004 12:47 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


All times are GMT -5. The time now is 03:05 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration