LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03: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, 03:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
look at what the DocumentRoot directive is set to in httpd.conf - it may bot be called htdocs.
 
Old 05-23-2003, 03: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, 03: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, 05: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, 07:16 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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 05:08 PM
Per folder Apache configuration coolman0stress Programming 1 01-04-2004 11:17 PM
apache looking for documentroot in /usr/htdocs niehls Linux - Software 3 07-06-2003 05:39 PM
apache new folder link zeky Linux - General 6 09-01-2002 07:34 PM
Apache HTDOCS help needed plz RecoilUK Linux - General 7 07-16-2001 01:51 PM


All times are GMT -5. The time now is 06:39 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration