LinuxQuestions.org
Help answer threads with 0 replies.
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 05-23-2003, 04:02 PM   #1
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Rep: Reputation: 15
Where is the htdocs folder for Apache?


I downloaded and compiled the Apache source, I have everything else installed from the Mandrake CD's from the first installation but I can't find the htdocs folder. And it does work because my IP address website says it's activated. My IP address is http://24.191.172.116/
 
Old 05-23-2003, 04:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
look at what the DocumentRoot directive is set to in httpd.conf - it may bot be called htdocs.
 
Old 05-23-2003, 04:32 PM   #3
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Here's the top of the document which I think is what is needed to be seen:

Quote:
### Main Configuration Section
### You really shouldn't change these settings unless you're a guru
###
ServerType standalone
ServerRoot /etc/httpd
#ServerName localhost
#LockFile /etc/httpd/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /etc/httpd/httpd.scoreboard
ErrorLog logs/error_log
LogLevel warn
ResourceConfig /dev/null
AccessConfig /dev/null
DocumentRoot /var/www/html
So I'm guessing that the documents would do in /var/www/html ?
 
Old 05-23-2003, 04:34 PM   #4
kazuni
Member
 
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256

Rep: Reputation: 30
either that or /etc/httpd i guess try both. asof now ia m trying to load your page but to no avail
 
Old 05-23-2003, 06:32 PM   #5
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
OK, thanks. I got it.
 
Old 05-24-2003, 08:16 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yes - it is the html direcory - /etc/httpd is the server root where the modules and configuration are kept.
 
  


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
What is the default folder where Apache is installed? johann519 Linux - Networking 3 01-22-2004 06:08 PM
Per folder Apache configuration coolman0stress Programming 1 01-05-2004 12:17 AM
apache looking for documentroot in /usr/htdocs niehls Linux - Software 3 07-06-2003 06:39 PM
apache new folder link zeky Linux - General 6 09-01-2002 08:34 PM
Apache HTDOCS help needed plz RecoilUK Linux - General 7 07-16-2001 02:51 PM

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

All times are GMT -5. The time now is 04:49 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