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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-23-2003, 04:02 PM
|
#1
|
Member
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128
Rep:
|
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/
|
|
|
05-23-2003, 04:17 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
look at what the DocumentRoot directive is set to in httpd.conf - it may bot be called htdocs.
|
|
|
05-23-2003, 04:32 PM
|
#3
|
Member
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128
Original Poster
Rep:
|
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 ?
|
|
|
05-23-2003, 04:34 PM
|
#4
|
Member
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256
Rep:
|
either that or /etc/httpd i guess try both. asof now ia m trying to load your page but to no avail
|
|
|
05-23-2003, 06:32 PM
|
#5
|
Member
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128
Original Poster
Rep:
|
OK, thanks. I got it.
|
|
|
05-24-2003, 08:16 AM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Yes - it is the html direcory - /etc/httpd is the server root where the modules and configuration are kept.
|
|
|
All times are GMT -5. The time now is 04:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|